30 lines
474 B
GLSL
30 lines
474 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;
|
|
|
|
void tint_symbol() {
|
|
u;
|
|
u.i;
|
|
}
|
|
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
|
void main() {
|
|
tint_symbol();
|
|
return;
|
|
}
|