mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-14 13:51:04 +00:00
8 lines
160 B
GLSL
8 lines
160 B
GLSL
|
float1 f1 = float1(1.0);
|
||
|
float scalar = 2.0;
|
||
|
|
||
|
float1 ShaderFunction(float1 inFloat1, float inScalar) : COLOR0
|
||
|
{
|
||
|
return f1 * scalar + inFloat1 * inScalar;
|
||
|
}
|