Files
glslang/Test/hlsl.swizzle.frag
2016-06-17 17:16:27 -06:00

7 lines
142 B
GLSL

float4 AmbientColor = float4(1, 0.5, 0, 1);
float4 ShaderFunction(float4 input) : COLOR0
{
return input.wwyx * float4(AmbientColor.z);
}