summaryrefslogtreecommitdiffstats
path: root/dom/webidl/WebGPU.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/webidl/WebGPU.webidl')
-rw-r--r--dom/webidl/WebGPU.webidl4
1 files changed, 3 insertions, 1 deletions
diff --git a/dom/webidl/WebGPU.webidl b/dom/webidl/WebGPU.webidl
index 58e259258d..c01d501542 100644
--- a/dom/webidl/WebGPU.webidl
+++ b/dom/webidl/WebGPU.webidl
@@ -499,6 +499,8 @@ dictionary GPUTextureBindingLayout {
enum GPUStorageTextureAccess {
"write-only",
+ "read-only",
+ "read-write",
};
dictionary GPUStorageTextureBindingLayout {
@@ -599,7 +601,7 @@ interface mixin GPUPipelineBase {
dictionary GPUProgrammableStage {
required GPUShaderModule module;
- required USVString entryPoint;
+ USVString entryPoint;
};
//TODO: Serializable