Merge pull request #220 from Qining/fix-built-in-spec-constants
[platform/upstream/glslang.git] / Test / hlsl.frag
1 float4 AmbientColor = float4(1, 0.5, 0, 1);
2 //float AmbientIntensity = 0.1;
3
4 float4 PixelShaderFunction(float4 input) : COLOR0
5 {
6     return input /* * AmbientIntensity */ + AmbientColor;
7 }