mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-15 09:35:57 +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>
31 lines
476 B
GLSL
31 lines
476 B
GLSL
intrinsics/ignore/uniform_buffer.wgsl:9:5 warning: use of deprecated intrinsic
|
|
ignore(u);
|
|
^^^^^^
|
|
|
|
intrinsics/ignore/uniform_buffer.wgsl:10:5 warning: use of deprecated intrinsic
|
|
ignore(u.i);
|
|
^^^^^^
|
|
|
|
#version 310 es
|
|
precision mediump float;
|
|
|
|
struct S {
|
|
int i;
|
|
};
|
|
|
|
layout (binding = 0) uniform S_1 {
|
|
int i;
|
|
} u;
|
|
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
|
void tint_symbol() {
|
|
u;
|
|
u.i;
|
|
return;
|
|
}
|
|
void main() {
|
|
tint_symbol();
|
|
}
|
|
|
|
|