dawn-cmake/test/intrinsics
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
..
arrayLength GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
gen GLSL: a grab bag of texture fixes. 2021-11-19 19:06:23 +00:00
ignore GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
textureDimensions GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
textureLoad GLSL: a grab bag of texture fixes. 2021-11-19 19:06:23 +00:00
textureNumSamples GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
degrees.spvasm spirv-reader: Polyfill GLSLStd450 Degrees and Radians 2021-07-26 09:12:57 +00:00
degrees.spvasm.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
degrees.spvasm.expected.hlsl spirv-reader: Polyfill GLSLStd450 Degrees and Radians 2021-07-26 09:12:57 +00:00
degrees.spvasm.expected.msl spirv-reader: Polyfill GLSLStd450 Degrees and Radians 2021-07-26 09:12:57 +00:00
degrees.spvasm.expected.spvasm spirv-reader: Polyfill GLSLStd450 Degrees and Radians 2021-07-26 09:12:57 +00:00
degrees.spvasm.expected.wgsl spirv-reader: Polyfill GLSLStd450 Degrees and Radians 2021-07-26 09:12:57 +00:00
frexp.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
frexp.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
frexp.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
frexp.wgsl.expected.msl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
frexp.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
frexp.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
intrinsics.wgsl.tmpl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
modf.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
modf.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
modf.wgsl.expected.hlsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
modf.wgsl.expected.msl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
modf.wgsl.expected.spvasm intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
modf.wgsl.expected.wgsl intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
radians.spvasm spirv-reader: Polyfill GLSLStd450 Degrees and Radians 2021-07-26 09:12:57 +00:00
radians.spvasm.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
radians.spvasm.expected.hlsl spirv-reader: Polyfill GLSLStd450 Degrees and Radians 2021-07-26 09:12:57 +00:00
radians.spvasm.expected.msl spirv-reader: Polyfill GLSLStd450 Degrees and Radians 2021-07-26 09:12:57 +00:00
radians.spvasm.expected.spvasm spirv-reader: Polyfill GLSLStd450 Degrees and Radians 2021-07-26 09:12:57 +00:00
radians.spvasm.expected.wgsl spirv-reader: Polyfill GLSLStd450 Degrees and Radians 2021-07-26 09:12:57 +00:00
repeated_use.wgsl Migrate more tests from Ignore() to phony-assignment 2021-10-22 00:21:44 +00:00
repeated_use.wgsl.expected.glsl GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
repeated_use.wgsl.expected.hlsl writer/hlsl: Do not emit `(void) call_expr;` 2021-10-25 11:00:44 +00:00
repeated_use.wgsl.expected.msl Migrate more tests from Ignore() to phony-assignment 2021-10-22 00:21:44 +00:00
repeated_use.wgsl.expected.spvasm Migrate more tests from Ignore() to phony-assignment 2021-10-22 00:21:44 +00:00
repeated_use.wgsl.expected.wgsl Migrate more tests from Ignore() to phony-assignment 2021-10-22 00:21:44 +00:00