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

29 lines
472 B
Plaintext
Raw Normal View History

intrinsics/ignore/storage_buffer.wgsl:9:5 warning: use of deprecated intrinsic
ignore(s);
^^^^^^
intrinsics/ignore/storage_buffer.wgsl:10:5 warning: use of deprecated intrinsic
ignore(s.i);
^^^^^^
#version 310 es
precision mediump float;
struct S {
int i;
};
layout(binding = 0) buffer S_1 {
int i;
} s;
void tint_symbol() {
s;
s.i;
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
tint_symbol();
return;
}