aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/GPUBindGroupLayout.webidl
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2020-05-29 12:02:05 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2020-06-01 23:28:12 +0530
commitaf95d922315974dcfae5659b503a672b19026fdb (patch)
tree312c711c1d90ac33ed538cc1cc5e240bcf70273e /components/script/dom/webidls/GPUBindGroupLayout.webidl
parentd9db350df528628b1f7f2f1da711fc2da790ec49 (diff)
downloadservo-af95d922315974dcfae5659b503a672b19026fdb.tar.gz
servo-af95d922315974dcfae5659b503a672b19026fdb.zip
Implement GPUTexture and GPUTextureView
Diffstat (limited to 'components/script/dom/webidls/GPUBindGroupLayout.webidl')
-rw-r--r--components/script/dom/webidls/GPUBindGroupLayout.webidl7
1 files changed, 4 insertions, 3 deletions
diff --git a/components/script/dom/webidls/GPUBindGroupLayout.webidl b/components/script/dom/webidls/GPUBindGroupLayout.webidl
index b2e705e6cc5..8b2d63a84ff 100644
--- a/components/script/dom/webidls/GPUBindGroupLayout.webidl
+++ b/components/script/dom/webidls/GPUBindGroupLayout.webidl
@@ -13,11 +13,12 @@ dictionary GPUBindGroupLayoutDescriptor : GPUObjectDescriptorBase {
};
dictionary GPUBindGroupLayoutEntry {
- required unsigned long binding;
+ required GPUIndex32 binding;
required GPUShaderStageFlags visibility;
required GPUBindingType type;
- //GPUTextureViewDimension textureDimension = "2d";
- //GPUTextureComponentType textureComponentType = "float";
+ GPUTextureViewDimension viewDimension = "2d";
+ GPUTextureComponentType textureComponentType = "float";
+ GPUTextureFormat storageTextureFormat;
boolean multisampled = false;
boolean hasDynamicOffset = false;
};