mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Use Device limits and features provided by user
Spec update
This commit is contained in:
parent
cd73193efe
commit
3661aa3d8c
16 changed files with 210 additions and 57 deletions
|
@ -16,11 +16,10 @@ dictionary GPUBindGroupLayoutEntry {
|
|||
required GPUIndex32 binding;
|
||||
required GPUShaderStageFlags visibility;
|
||||
required GPUBindingType type;
|
||||
boolean hasDynamicOffset = false;
|
||||
GPUSize64 minBufferBindingSize = 0;
|
||||
boolean hasDynamicOffset;
|
||||
GPUSize64 minBufferBindingSize;
|
||||
GPUTextureViewDimension viewDimension;
|
||||
GPUTextureComponentType textureComponentType;
|
||||
boolean multisampled = false;
|
||||
GPUTextureFormat storageTextureFormat;
|
||||
};
|
||||
|
||||
|
@ -31,6 +30,7 @@ enum GPUBindingType {
|
|||
"sampler",
|
||||
"comparison-sampler",
|
||||
"sampled-texture",
|
||||
"multisampled-texture",
|
||||
"readonly-storage-texture",
|
||||
"writeonly-storage-texture"
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue