glslang/Test/hlsl.boolConv.vert
2018-08-07 03:16:20 +09:00

21 lines
252 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;
}