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

17 lines
144 B
HLSL
Raw Normal View History

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