chroma/lexers/testdata/wgsl.texel.formats.actual
2025-03-22 20:46:00 +13:00

17 lines
1 KiB
Text

@group(0) @binding(0) var texture_storage_2d<rgba8unorm,write>;
@group(0) @binding(1) var texture_storage_2d<rgba8snorm,write>;
@group(0) @binding(2) var texture_storage_2d<rgba8uint,write>;
@group(0) @binding(3) var texture_storage_2d<rgba8sint,write>;
@group(0) @binding(4) var texture_storage_2d<rgba16uint,write>;
@group(0) @binding(5) var texture_storage_2d<rgba16sint,write>;
@group(0) @binding(6) var texture_storage_2d<rgba16float,write>;
@group(0) @binding(7) var texture_storage_2d<r32uint,write>;
@group(0) @binding(8) var texture_storage_2d<r32sint,write>;
@group(0) @binding(9) var texture_storage_2d<r32float,write>;
@group(1) @binding(0) var texture_storage_2d<rg32uint,write>;
@group(1) @binding(1) var texture_storage_2d<rg32sint,write>;
@group(1) @binding(2) var texture_storage_2d<rg32float,write>;
@group(1) @binding(3) var texture_storage_2d<rgba32uint,write>;
@group(1) @binding(4) var texture_storage_2d<rgba32sint,write>;
@group(1) @binding(5) var texture_storage_2d<rgba32float,write>;
@group(1) @binding(6) var texture_storage_2d<bgra8unorm,write>;