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

12 lines
159 B
HLSL
Raw Normal View History

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