dawn-cmake/test/intrinsics
James Price ae8c65620e glsl: Wrap non-struct buffer types in structs
Use the AddSpirvBlockDecoration transform to do this.

Add expected results for all of the new E2E tests. The arrayLength()
tests all fail as this is not yet implemented for the GLSL
backend. The other tests all pass except two that assign whole structs
to buffers, which is also a pre-existing issue.

Bug: tint:1372
Change-Id: I230197b43a5561e619866419d642ffc1ed085aac
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/76164
Reviewed-by: Ben Clayton <bclayton@google.com>
Reviewed-by: Stephen White <senorblanco@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-01-19 15:55:56 +00:00
..
arrayLength glsl: Wrap non-struct buffer types in structs 2022-01-19 15:55:56 +00:00
gen Add new GLSL test expectations. 2022-01-06 15:31:21 +00:00
ignore glsl: Don't emit structs with runtime-sized arrays 2021-12-09 18:54:35 +00:00
textureDimensions reader/spirv: Optimize MakeNullValue() 2022-01-05 20:24:22 +00:00
textureGather Add new GLSL test expectations. 2022-01-06 15:31:21 +00:00
textureLoad reader/spirv: Optimize MakeNullValue() 2022-01-05 20:24:22 +00:00
textureNumSamples reader/spirv: Optimize MakeNullValue() 2022-01-05 20:24:22 +00:00
degrees.spvasm spirv-reader: Polyfill GLSLStd450 Degrees and Radians 2021-07-26 09:12:57 +00:00
degrees.spvasm.expected.glsl intrinsics: Add degrees() and radians() 2022-01-05 20:11:00 +00:00
degrees.spvasm.expected.hlsl intrinsics: Add degrees() and radians() 2022-01-05 20:11:00 +00:00
degrees.spvasm.expected.msl intrinsics: Add degrees() and radians() 2022-01-05 20:11:00 +00:00
degrees.spvasm.expected.spvasm intrinsics: Add degrees() and radians() 2022-01-05 20:11:00 +00:00
degrees.spvasm.expected.wgsl intrinsics: Add degrees() and radians() 2022-01-05 20:11:00 +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 reader/wgsl: Allow identifiers to start with an underscore 2021-11-19 21:52:13 +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 tests: Stop using the [[block]] attribute 2021-12-09 15:45:03 +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 reader/wgsl: Allow identifiers to start with an underscore 2021-11-19 21:52:13 +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 intrinsics: Add degrees() and radians() 2022-01-05 20:11:00 +00:00
radians.spvasm.expected.hlsl intrinsics: Add degrees() and radians() 2022-01-05 20:11:00 +00:00
radians.spvasm.expected.msl intrinsics: Add degrees() and radians() 2022-01-05 20:11:00 +00:00
radians.spvasm.expected.spvasm intrinsics: Add degrees() and radians() 2022-01-05 20:11:00 +00:00
radians.spvasm.expected.wgsl intrinsics: Add degrees() and radians() 2022-01-05 20:11:00 +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 Update GLSL expected results. 2021-12-21 01:48:13 +00:00
repeated_use.wgsl.expected.hlsl intrinsics: Deprecate isNan, isInf, isFinite, isNormal 2021-11-23 18:57:57 +00:00
repeated_use.wgsl.expected.msl intrinsics: Deprecate isNan, isInf, isFinite, isNormal 2021-11-23 18:57:57 +00:00
repeated_use.wgsl.expected.spvasm intrinsics: Deprecate isNan, isInf, isFinite, isNormal 2021-11-23 18:57:57 +00:00
repeated_use.wgsl.expected.wgsl intrinsics: Deprecate isNan, isInf, isFinite, isNormal 2021-11-23 18:57:57 +00:00