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

19 lines
175 B
HLSL
Raw Normal View History

struct S {
int i;
};
static S V;
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;
}