dawn-cmake/test/tint/builtins/gen/literal/textureLoad
Stephen White 05d8b02b0f GLSL: implement host-visible memory padding.
Since GLSL ES does not support the offset= attribute, struct members
with explicit @align or @size attributes require adding explicit
padding members.  This in turn requires rewriting any constructor
calls to initialize the new padding to zero, handled in the same
transform.

Note that this is currently overly-verbose, and will add padding where
GLSL doesn't technically need it (e.g., padding a vec3 out to 16 bytes).

Bug: tint:1415
Change-Id: Ia9ba513066a0e84f4c43247fcbbe02f5fadd6630
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101720
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-13 19:48:51 +00:00
..
1b8588.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
1b8588.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
1b8588.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
1b8588.wgsl.expected.glsl
1b8588.wgsl.expected.msl
1b8588.wgsl.expected.spvasm
1b8588.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
1f2016.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
1f2016.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
1f2016.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
1f2016.wgsl.expected.glsl
1f2016.wgsl.expected.msl
1f2016.wgsl.expected.spvasm
1f2016.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
4fd803.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
4fd803.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
4fd803.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
4fd803.wgsl.expected.glsl
4fd803.wgsl.expected.msl
4fd803.wgsl.expected.spvasm
4fd803.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
5a2f9d.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
5a2f9d.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
5a2f9d.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
5a2f9d.wgsl.expected.glsl
5a2f9d.wgsl.expected.msl
5a2f9d.wgsl.expected.spvasm
5a2f9d.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
7c90e5.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
7c90e5.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
7c90e5.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
7c90e5.wgsl.expected.glsl
7c90e5.wgsl.expected.msl
7c90e5.wgsl.expected.spvasm
7c90e5.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
8acf41.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
8acf41.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
8acf41.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
8acf41.wgsl.expected.glsl GLSL: implement host-visible memory padding. 2022-09-13 19:48:51 +00:00
8acf41.wgsl.expected.msl tint/writer/msl: Generate an array<T,N> helper 2022-06-24 17:01:59 +00:00
8acf41.wgsl.expected.spvasm GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
8acf41.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
9b2667.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
9b2667.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
9b2667.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
9b2667.wgsl.expected.glsl
9b2667.wgsl.expected.msl
9b2667.wgsl.expected.spvasm
9b2667.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
19cf87.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
19cf87.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
19cf87.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
19cf87.wgsl.expected.glsl
19cf87.wgsl.expected.msl
19cf87.wgsl.expected.spvasm
19cf87.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
79e697.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
79e697.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
79e697.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
79e697.wgsl.expected.glsl
79e697.wgsl.expected.msl
79e697.wgsl.expected.spvasm
79e697.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
81c381.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
81c381.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
81c381.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
81c381.wgsl.expected.glsl
81c381.wgsl.expected.msl
81c381.wgsl.expected.spvasm
81c381.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
87be85.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
87be85.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
87be85.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
87be85.wgsl.expected.glsl
87be85.wgsl.expected.msl
87be85.wgsl.expected.spvasm
87be85.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
6154d4.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
6154d4.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
6154d4.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
6154d4.wgsl.expected.glsl
6154d4.wgsl.expected.msl
6154d4.wgsl.expected.spvasm
6154d4.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
6273b1.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
6273b1.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
6273b1.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
6273b1.wgsl.expected.glsl
6273b1.wgsl.expected.msl
6273b1.wgsl.expected.spvasm
6273b1.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
484344.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
484344.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
484344.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
484344.wgsl.expected.glsl
484344.wgsl.expected.msl
484344.wgsl.expected.spvasm
484344.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
a9a9f5.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
a9a9f5.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
a9a9f5.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
a9a9f5.wgsl.expected.glsl
a9a9f5.wgsl.expected.msl
a9a9f5.wgsl.expected.spvasm
a9a9f5.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
a583c9.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
a583c9.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
a583c9.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
a583c9.wgsl.expected.glsl
a583c9.wgsl.expected.msl
a583c9.wgsl.expected.spvasm
a583c9.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
c2a480.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
c2a480.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
c2a480.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
c2a480.wgsl.expected.glsl
c2a480.wgsl.expected.msl
c2a480.wgsl.expected.spvasm
c2a480.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
c378ee.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
c378ee.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
c378ee.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
c378ee.wgsl.expected.glsl
c378ee.wgsl.expected.msl
c378ee.wgsl.expected.spvasm
c378ee.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
e3d2cc.wgsl test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
e3d2cc.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
e3d2cc.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
e3d2cc.wgsl.expected.glsl
e3d2cc.wgsl.expected.msl
e3d2cc.wgsl.expected.spvasm
e3d2cc.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00