bgfx/3rdparty/glslang/Test/hlsl.boolConv.vert
Branimir Karadžić ba4a90b9bd Updated glslang.
2018-03-10 15:03:31 -08:00

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