dawn-cmake/test/ptr_ref/load/global/struct_field.wgsl.expected....

12 lines
112 B
HLSL

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