bgfx/3rdparty/glslang/Test/hlsl.deadFunctionMissingBody.vert

9 lines
199 B
GLSL
Raw Normal View History

2016-12-17 23:38:22 +03:00
float4 main(): SV_Target0 { return 0; }
struct Surface { float3 albedo; };
Surface surfaceShader(float fade);
Surface surfaceShaderExec()
{
float fade = 0;
return surfaceShader(0);
}