dawn-cmake/test/ptr_ref/load/local/ptr_uniform.wgsl.expected.hlsl

13 lines
147 B
HLSL

struct S {
int a;
};
ConstantBuffer<S> v : register(b0, space0);
[numthreads(1, 1, 1)]
void main() {
const int use = (v.a + 1);
return;
}