dawn-cmake/test/intrinsics/ignore/uniform_buffer.wgsl.expecte...

31 lines
475 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();
}