mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 11:30:06 +00:00
1cc1a2813e
The grammar now accepts type casts, like "(int)x", but that has to be disambiguated from "(a + b)", needed deeper lookahead and backing up than what existed so far.
5 lines
110 B
GLSL
5 lines
110 B
GLSL
float4 PixelShaderFunction(float4 input) : COLOR0
|
|
{
|
|
return (float4)input + (int4)input + (float4)1.198;
|
|
}
|