mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-28 13:40:41 +00:00
8 lines
168 B
GLSL
8 lines
168 B
GLSL
float1 f1 = float1(1.0);
|
|
float scalar = 2.0;
|
|
|
|
float1 ShaderFunction(float1 inFloat1 : COLOR, float inScalar) : COLOR0
|
|
{
|
|
return f1 * scalar + inFloat1 * inScalar;
|
|
}
|