blob: 0228978cd30e38ce1fa70e79f0ddab32d6a4d4d4 [file] [log] [blame]
diagnostic(off, derivative_uniformity);
diagnostic(off, chromium.unreachable_code);
struct IndirectDispatchArgs {
x: i32,
y: i32,
z: i32,
};
var<workgroup> outX: i32;
var<workgroup> outY: i32;
var<workgroup> outZ: i32;
fn _skslMain() {
{
var args: array<IndirectDispatchArgs, 3>;
outX = args[0].x;
outY = args[1].y;
outZ = args[2].z;
}
}
@compute @workgroup_size(16, 16, 1) fn main() {
_skslMain();
}