dawn-cmake/test/tint/vk-gl-cts
Stephen White 66abf3ed14 GLSL: don't emit structs w/runtime-sized arrays.
In GLSL, runtime-sized arrays are only valid in interface blocks, not
in structs. The existing code was attempting to avoid emitting structs
containing runtime-sized arrays but was confused by type aliases in
the AST resulting in arrays being missed.

The fix is to do the work on the semantic types instead, where type
aliases have been resolved.

Bug: tint:1339
Change-Id: I8c305ee9bddd75f975dd13f1d19d623d71410693
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82360
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-03-02 14:09:22 +00:00
..
api/descriptor_set/descriptor_set_layout_binding/layout_binding_order tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
binding_model/dynamic_offset tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
combined_operations/negintdivand tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
graphicsfuzz GLSL: don't emit structs w/runtime-sized arrays. 2022-03-02 14:09:22 +00:00
non_robust_buffer_access tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
rasterization/line_continuity/line-strip tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
spirv_assembly/instruction GLSL: don't emit structs w/runtime-sized arrays. 2022-03-02 14:09:22 +00:00
subgroup_uniform_control_flow/discard/subgroup_reconverge_discard00 tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
texture tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00