mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-26 21:24:53 +00:00
906cc21816
Fixes issue #610. Also provides a testing option to keep uncalled functions.
9 lines
199 B
GLSL
9 lines
199 B
GLSL
float4 main(): SV_Target0 { return 0; }
|
|
struct Surface { float3 albedo; };
|
|
Surface surfaceShader(float fade);
|
|
Surface surfaceShaderExec()
|
|
{
|
|
float fade = 0;
|
|
return surfaceShader(0);
|
|
}
|