dawn-cmake/test/types
Stephen White 0ff3050c6c GLSL: a grab bag of texture fixes.
Use imageSize() on images, not textureSize().
In GLSL, the LOD parameter to textureSize() is mandatory for
sampled textures, so emit a default 0 if not supplied. (Also, don't pack
the level into the coords argument; that's an HLSLism.)
GLSL returns the array size of array textures in the final component
of textureSize(); remove it for WGSL.
Write the subtype of storage images correctly (uimage*, iimage*, etc).
This required a bit of cleanup to move "writeonly" ahead of subtype
emission.

Bug: tint:1298
Change-Id: Ica1cec0f833a9b684143c8b0cf6d090fb511a7d2
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/70140
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-11-19 19:06:23 +00:00
..
texture GLSL: a grab bag of texture fixes. 2021-11-19 19:06:23 +00:00
function_scope_declarations.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
function_scope_declarations.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
function_scope_declarations.wgsl.expected.hlsl writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
function_scope_declarations.wgsl.expected.msl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
function_scope_declarations.wgsl.expected.spvasm validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
function_scope_declarations.wgsl.expected.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
function_scope_var_conversions.wgsl Add support for converting bool to other types 2021-07-19 17:35:39 +00:00
function_scope_var_conversions.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
function_scope_var_conversions.wgsl.expected.hlsl Add support for converting bool to other types 2021-07-19 17:35:39 +00:00
function_scope_var_conversions.wgsl.expected.msl Add support for converting bool to other types 2021-07-19 17:35:39 +00:00
function_scope_var_conversions.wgsl.expected.spvasm Add support for converting bool to other types 2021-07-19 17:35:39 +00:00
function_scope_var_conversions.wgsl.expected.wgsl Add support for converting bool to other types 2021-07-19 17:35:39 +00:00
module_scope_let.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
module_scope_let.wgsl.expected.glsl GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
module_scope_let.wgsl.expected.hlsl writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
module_scope_let.wgsl.expected.msl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
module_scope_let.wgsl.expected.spvasm validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
module_scope_let.wgsl.expected.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
module_scope_var.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
module_scope_var.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
module_scope_var.wgsl.expected.hlsl writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
module_scope_var.wgsl.expected.msl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
module_scope_var.wgsl.expected.spvasm validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
module_scope_var.wgsl.expected.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
module_scope_var_conversions.wgsl Add support for converting bool to other types 2021-07-19 17:35:39 +00:00
module_scope_var_conversions.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
module_scope_var_conversions.wgsl.expected.hlsl Add support for converting bool to other types 2021-07-19 17:35:39 +00:00
module_scope_var_conversions.wgsl.expected.msl Add support for converting bool to other types 2021-07-19 17:35:39 +00:00
module_scope_var_conversions.wgsl.expected.spvasm Add support for converting bool to other types 2021-07-19 17:35:39 +00:00
module_scope_var_conversions.wgsl.expected.wgsl Add support for converting bool to other types 2021-07-19 17:35:39 +00:00
module_scope_var_initializers.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
module_scope_var_initializers.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
module_scope_var_initializers.wgsl.expected.hlsl writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
module_scope_var_initializers.wgsl.expected.msl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
module_scope_var_initializers.wgsl.expected.spvasm validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
module_scope_var_initializers.wgsl.expected.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
parameters.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
parameters.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
parameters.wgsl.expected.hlsl writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
parameters.wgsl.expected.msl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
parameters.wgsl.expected.spvasm validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
parameters.wgsl.expected.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
return_types.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
return_types.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
return_types.wgsl.expected.hlsl writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
return_types.wgsl.expected.msl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
return_types.wgsl.expected.spvasm validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
return_types.wgsl.expected.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
sampler.wgsl Migrate more tests from Ignore() to phony-assignment 2021-10-22 00:21:44 +00:00
sampler.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
sampler.wgsl.expected.hlsl Migrate more tests from Ignore() to phony-assignment 2021-10-22 00:21:44 +00:00
sampler.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
sampler.wgsl.expected.spvasm Migrate more tests from Ignore() to phony-assignment 2021-10-22 00:21:44 +00:00
sampler.wgsl.expected.wgsl Migrate more tests from Ignore() to phony-assignment 2021-10-22 00:21:44 +00:00
struct_members.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
struct_members.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
struct_members.wgsl.expected.hlsl writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00
struct_members.wgsl.expected.msl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
struct_members.wgsl.expected.spvasm validation: structures cannot be empty 2021-07-01 08:13:41 +00:00
struct_members.wgsl.expected.wgsl validation: structures cannot be empty 2021-07-01 08:13:41 +00:00