bgfx/3rdparty/glslang/Test/hlsl.boolConv.vert

20 lines
270 B
GLSL
Raw Normal View History

2017-04-15 07:17:34 +03:00
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;
}