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

12 lines
146 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;
}