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

15 lines
135 B
HLSL

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