mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-18 08:47:37 +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;
|
|
}
|