mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 18:29:23 +00:00
Enabled BindGroupLayout deprecation warning and fixed tests it broke.
This should be the last change BindGroupLayout change needed to complete the conversion to the new structure aside from removing the deprecated code paths in the future. Bug: dawn:527 Change-Id: I44f67de80f1b4e1b7b32909d70d74610f7a06d8d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/37560 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Brandon Jones <bajones@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
8ba0a01d1e
commit
2f1278e68b
@@ -158,12 +158,11 @@ namespace dawn_native {
|
||||
"texture, or storageTexture are set");
|
||||
}
|
||||
} else if (bindingMemberCount == 0) {
|
||||
// TODO(dawn:527): Raising this warning breaks a ton of validation tests.
|
||||
// Deprecated validation path
|
||||
/*device->EmitDeprecationWarning(
|
||||
device->EmitDeprecationWarning(
|
||||
"The format of BindGroupLayoutEntry has changed, and will soon require the "
|
||||
"buffer, sampler, texture, or storageTexture members be set rather than "
|
||||
"setting type, etc. on the entry directly.");*/
|
||||
"setting type, etc. on the entry directly.");
|
||||
|
||||
DAWN_TRY(ValidateBindingType(entry.type));
|
||||
DAWN_TRY(ValidateTextureComponentType(entry.textureComponentType));
|
||||
|
||||
Reference in New Issue
Block a user