Remove createRenderPipeline2 and GPURenderPipelineDescriptor2
Blocked on: https://chromium-review.googlesource.com/c/chromium/src/+/3075622 https://skia-review.googlesource.com/c/skia/+/437076 Change-Id: I49773b422c0fda7c752b90c341e5a9f243fc0b36 Bug: dawn:751 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/61101 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Brandon Jones <bajones@chromium.org>
This commit is contained in:
parent
a7f5fa36f0
commit
9096fc290f
11
dawn.json
11
dawn.json
|
@ -773,13 +773,6 @@
|
|||
{"name": "descriptor", "type": "render pipeline descriptor", "annotation": "const*"}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "create render pipeline 2",
|
||||
"returns": "render pipeline",
|
||||
"args": [
|
||||
{"name": "descriptor", "type": "render pipeline descriptor", "annotation": "const*"}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "create sampler",
|
||||
"returns": "sampler",
|
||||
|
@ -1663,10 +1656,6 @@
|
|||
{"name": "fragment", "type": "fragment state", "annotation": "const*", "optional": true}
|
||||
]
|
||||
},
|
||||
"render pipeline descriptor 2": {
|
||||
"category": "typedef",
|
||||
"type": "render pipeline descriptor"
|
||||
},
|
||||
|
||||
"sampler": {
|
||||
"category": "object"
|
||||
|
|
|
@ -858,13 +858,6 @@ namespace dawn_native {
|
|||
}
|
||||
return result.Detach();
|
||||
}
|
||||
RenderPipelineBase* DeviceBase::APICreateRenderPipeline2(
|
||||
const RenderPipelineDescriptor* descriptor) {
|
||||
EmitDeprecationWarning(
|
||||
"CreateRenderPipeline2() has been deprecated. Please begin using "
|
||||
"CreateRenderPipeline() instead.");
|
||||
return APICreateRenderPipeline(descriptor);
|
||||
}
|
||||
ShaderModuleBase* DeviceBase::APICreateShaderModule(const ShaderModuleDescriptor* descriptor) {
|
||||
Ref<ShaderModuleBase> result;
|
||||
std::unique_ptr<OwnedCompilationMessages> compilationMessages(
|
||||
|
|
|
@ -193,7 +193,6 @@ namespace dawn_native {
|
|||
RenderBundleEncoder* APICreateRenderBundleEncoder(
|
||||
const RenderBundleEncoderDescriptor* descriptor);
|
||||
RenderPipelineBase* APICreateRenderPipeline(const RenderPipelineDescriptor* descriptor);
|
||||
RenderPipelineBase* APICreateRenderPipeline2(const RenderPipelineDescriptor* descriptor);
|
||||
ExternalTextureBase* APICreateExternalTexture(const ExternalTextureDescriptor* descriptor);
|
||||
SamplerBase* APICreateSampler(const SamplerDescriptor* descriptor);
|
||||
ShaderModuleBase* APICreateShaderModule(const ShaderModuleDescriptor* descriptor);
|
||||
|
|
Loading…
Reference in New Issue