dawn-cmake/test/tint/ptr_ref/load/global/struct_field.spvasm.expecte...

19 lines
182 B
HLSL
Raw Normal View History

struct S {
int i;
};
static S V = (S)0;
void main_1() {
int i = 0;
const int x_15 = V.i;
i = x_15;
return;
}
[numthreads(1, 1, 1)]
void main() {
main_1();
return;
}