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

11 lines
220 B
HLSL
Raw Normal View History

cbuffer cbuffer_v : register(b0, space0) {
uint4 v[1];
};
[numthreads(1, 1, 1)]
void main() {
const uint scalar_offset = (0u) / 4;
const int use = (asint(v[scalar_offset / 4][scalar_offset % 4]) + 1);
return;
}