bgfx/3rdparty/glslang/Test/hlsl.promote.vec1.frag
Branimir Karadžić f46d6a5803 Added glslang.
2016-12-15 14:19:54 -08:00

17 lines
260 B
GLSL

float4 main() : SV_Target
{
float f1a;
float1 f1b;
f1a = f1b; // convert float1 to float
f1b = f1a; // convert float to float1
float3 f3;
step(0.0, f3);
sin(f1b); // test 1-vectors in intrinsics
return float4(0,0,0,0);
}