bgfx/3rdparty/glslang/Test/hlsl.boolConv.vert
Branimir Karadžić cd8d2e9452 Updated glslang.
2017-04-14 21:17:34 -07:00

20 lines
270 B
GLSL
Executable File

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;
}