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

10 lines
168 B
GLSL

float4 PixelShaderFunction(
float4 a1,
float4 a2,
float4 a3,
float4 a4
) : COLOR0
{
return a1 + a2 * a3 + a4 + float4(a1.rgb * a2.rgb, a3.a);
}