1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-02-13 13:28:27 +02:00
chroma/lexers/testdata/wgsl.texel.formats.actual
David Neto dcc587e978
wgsl: Fix typo for texel format rgba16float (#779)
Add tests for predeclared types, type-generators, texel formats.
2023-03-28 13:18:56 -07:00

18 lines
1.0 KiB
Plaintext

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