Commit 4d665f10 authored by Austin Eng's avatar Austin Eng Committed by Commit Bot

[WebGPU] Remove support for readonly storage buffer enum

We should not expose this enum until it is fully implemented
in Dawn. This is temporary to not have the tests crash while
we incrementally implement the feature.

Bug: dawn:180
Change-Id: Iea128b20a792dfae926ed64bc5b03feb41fc5811
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1899195
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: default avatarYunchao He <yunchao.he@intel.com>
Reviewed-by: default avatarCorentin Wallez <cwallez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#713074}
parent b618db4b
...@@ -23,9 +23,6 @@ WGPUBindingType AsDawnEnum<WGPUBindingType>(const WTF::String& webgpu_enum) { ...@@ -23,9 +23,6 @@ WGPUBindingType AsDawnEnum<WGPUBindingType>(const WTF::String& webgpu_enum) {
if (webgpu_enum == "storage-buffer") { if (webgpu_enum == "storage-buffer") {
return WGPUBindingType_StorageBuffer; return WGPUBindingType_StorageBuffer;
} }
if (webgpu_enum == "readonly-storage-buffer") {
return WGPUBindingType_ReadonlyStorageBuffer;
}
if (webgpu_enum == "sampler") { if (webgpu_enum == "sampler") {
return WGPUBindingType_Sampler; return WGPUBindingType_Sampler;
} }
......
...@@ -17,7 +17,6 @@ dictionary GPUBindGroupLayoutBinding { ...@@ -17,7 +17,6 @@ dictionary GPUBindGroupLayoutBinding {
enum GPUBindingType { enum GPUBindingType {
"uniform-buffer", "uniform-buffer",
"storage-buffer", "storage-buffer",
"readonly-storage-buffer",
"sampler", "sampler",
"sampled-texture", "sampled-texture",
"storage-texture", "storage-texture",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment