Remove deprecated names of texture formats.
Bug: dawn:22
Change-Id: I380380d3d965e603794123739392dae32b84ab9b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/32021
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
diff --git a/generator/templates/webgpu.h b/generator/templates/webgpu.h
index 42a4c93..e6ee673 100644
--- a/generator/templates/webgpu.h
+++ b/generator/templates/webgpu.h
@@ -94,9 +94,6 @@
{% endif %}
{% endfor %}
-//* TODO(dawn:22) remove this once the PSA is sent and the deadline passed.
-#define WGPUTextureFormat_RG11B10Float WGPUTextureFormat_RG11B10Ufloat
-#define WGPUTextureFormat_BC6HRGBSfloat WGPUTextureFormat_BC6HRGBFloat
typedef struct WGPUChainedStruct {
struct WGPUChainedStruct const * next;
diff --git a/generator/templates/webgpu_cpp.h b/generator/templates/webgpu_cpp.h
index 4819724..2fd3ab7 100644
--- a/generator/templates/webgpu_cpp.h
+++ b/generator/templates/webgpu_cpp.h
@@ -27,11 +27,6 @@
{% for value in type.values %}
{{as_cppEnum(value.name)}} = 0x{{format(value.value, "08X")}},
{% endfor %}
- //* TODO(dawn:22) remove this once the PSA is sent and the deadline passed.
- {% if type.name.canonical_case() == "texture format" %}
- RG11B10Float = RG11B10Ufloat,
- BC6HRGBSfloat = BC6HRGBFloat,
- {% endif %}
};
{% endfor %}