Implement GPUTexture and GPUTextureView

This commit is contained in:
Kunal Mohan 2020-05-29 12:02:05 +05:30
parent d9db350df5
commit af95d92231
15 changed files with 638 additions and 15 deletions

View file

@ -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;
};