dawn-cmake/test/intrinsics/gen/atomicMax/a89cc3.wgsl.expected.hlsl

14 lines
226 B
HLSL
Raw Normal View History

groupshared int arg_0;
void atomicMax_a89cc3() {
int atomic_result = 0;
InterlockedMax(arg_0, 1, atomic_result);
int res = atomic_result;
}
[numthreads(1, 1, 1)]
void compute_main() {
atomicMax_a89cc3();
return;
}