8 lines
142 B
HLSL
8 lines
142 B
HLSL
|
[numthreads(1, 1, 1)]
|
||
|
void f() {
|
||
|
const float a = 4.0f;
|
||
|
const float3 b = float3(1.0f, 2.0f, 3.0f);
|
||
|
const float3 r = (a % b);
|
||
|
return;
|
||
|
}
|