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

7 lines
149 B
GLSL

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