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>
This commit is contained in:
Corentin Wallez 2020-11-09 21:19:25 +00:00 committed by Commit Bot service account
parent 0053fef8a4
commit f2df66fce8
2 changed files with 0 additions and 8 deletions

View File

@ -94,9 +94,6 @@ typedef uint32_t WGPUFlags;
{% endif %} {% endif %}
{% endfor %} {% 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 { typedef struct WGPUChainedStruct {
struct WGPUChainedStruct const * next; struct WGPUChainedStruct const * next;

View File

@ -27,11 +27,6 @@ namespace wgpu {
{% for value in type.values %} {% for value in type.values %}
{{as_cppEnum(value.name)}} = 0x{{format(value.value, "08X")}}, {{as_cppEnum(value.name)}} = 0x{{format(value.value, "08X")}},
{% endfor %} {% 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 %} {% endfor %}