20 lines
270 B
GLSL
20 lines
270 B
GLSL
|
static bool a, b = true;
|
||
|
float4 main() : SV_Position
|
||
|
{
|
||
|
int r = 0;
|
||
|
|
||
|
r += a + b;
|
||
|
r += a - b;
|
||
|
r += a * b;
|
||
|
r += a / b;
|
||
|
r += a % b;
|
||
|
|
||
|
r += a & b;
|
||
|
r += a | b;
|
||
|
r += a ^ b;
|
||
|
|
||
|
r += a << b;
|
||
|
r += a >> b;
|
||
|
|
||
|
return r;
|
||
|
}
|