mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-20 07:03:05 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
97
spec/tests/webgpu_shading_language/depth-texture.txt
Normal file
97
spec/tests/webgpu_shading_language/depth-texture.txt
Normal file
@ -0,0 +1,97 @@
|
||||
---input---
|
||||
@group(0) @binding(1) var texture_depth_2d;
|
||||
@group(0) @binding(2) var texture_depth_2d_array;
|
||||
@group(0) @binding(4) var texture_depth_cube;
|
||||
@group(0) @binding(5) var texture_depth_cube_array;
|
||||
@group(0) @binding(5) var texture_depth_multisampled_2d;
|
||||
|
||||
---tokens---
|
||||
'@' Name.Decorator
|
||||
'group' Name.Decorator
|
||||
'(' Punctuation
|
||||
'0' Literal.Number.Integer
|
||||
')' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'@' Name.Decorator
|
||||
'binding' Name.Decorator
|
||||
'(' Punctuation
|
||||
'1' Literal.Number.Integer
|
||||
')' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'var' Keyword.Declaration
|
||||
' ' Text.Whitespace
|
||||
'texture_depth_2d' Name.Builtin
|
||||
';' Punctuation
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'@' Name.Decorator
|
||||
'group' Name.Decorator
|
||||
'(' Punctuation
|
||||
'0' Literal.Number.Integer
|
||||
')' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'@' Name.Decorator
|
||||
'binding' Name.Decorator
|
||||
'(' Punctuation
|
||||
'2' Literal.Number.Integer
|
||||
')' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'var' Keyword.Declaration
|
||||
' ' Text.Whitespace
|
||||
'texture_depth_2d_array' Name.Builtin
|
||||
';' Punctuation
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'@' Name.Decorator
|
||||
'group' Name.Decorator
|
||||
'(' Punctuation
|
||||
'0' Literal.Number.Integer
|
||||
')' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'@' Name.Decorator
|
||||
'binding' Name.Decorator
|
||||
'(' Punctuation
|
||||
'4' Literal.Number.Integer
|
||||
')' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'var' Keyword.Declaration
|
||||
' ' Text.Whitespace
|
||||
'texture_depth_cube' Name.Builtin
|
||||
';' Punctuation
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'@' Name.Decorator
|
||||
'group' Name.Decorator
|
||||
'(' Punctuation
|
||||
'0' Literal.Number.Integer
|
||||
')' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'@' Name.Decorator
|
||||
'binding' Name.Decorator
|
||||
'(' Punctuation
|
||||
'5' Literal.Number.Integer
|
||||
')' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'var' Keyword.Declaration
|
||||
' ' Text.Whitespace
|
||||
'texture_depth_cube_array' Name.Builtin
|
||||
';' Punctuation
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'@' Name.Decorator
|
||||
'group' Name.Decorator
|
||||
'(' Punctuation
|
||||
'0' Literal.Number.Integer
|
||||
')' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'@' Name.Decorator
|
||||
'binding' Name.Decorator
|
||||
'(' Punctuation
|
||||
'5' Literal.Number.Integer
|
||||
')' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'var' Keyword.Declaration
|
||||
' ' Text.Whitespace
|
||||
'texture_depth_multisampled_2d' Name.Builtin
|
||||
';' Punctuation
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user