mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-15 01:26:06 +00:00
The GLSL emitted for these was invalid, and we don't need these structs since they're only used as the store types of buffers, which are handled elsewhere. Change-Id: I17c15e408b5c36e9b895e5950528a6d02d1802a6 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/72381 Reviewed-by: Stephen White <senorblanco@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
23 lines
347 B
GLSL
23 lines
347 B
GLSL
intrinsics/ignore/runtime_array.wgsl:9:5 warning: use of deprecated intrinsic
|
|
ignore(s.arr);
|
|
^^^^^^
|
|
|
|
#version 310 es
|
|
precision mediump float;
|
|
|
|
|
|
layout (binding = 0) buffer S_1 {
|
|
int arr[];
|
|
} s;
|
|
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
|
void tint_symbol() {
|
|
s.arr;
|
|
return;
|
|
}
|
|
void main() {
|
|
tint_symbol();
|
|
}
|
|
|
|
|