mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-26 19:35:42 -04:00
ShaderGen: Fix compile error with Metal+Barriers
This commit is contained in:
parent
7626a9bf9c
commit
72607ecdf6
@ -609,7 +609,7 @@ void ShaderGen::DeclareFragmentEntryPoint(
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ss << "layout(set = 2, binding = 0) uniform " << (msaa ? "texture2D" : "texture2DMS") << "u_input_rt;\n";
|
ss << "layout(set = 2, binding = 0) uniform " << (msaa ? "texture2DMS" : "texture2D") << " u_input_rt;\n";
|
||||||
ss << "#define LAST_FRAG_COLOR texelFetch(u_input_rt, int2(gl_FragCoord.xy), " << (msaa ? "gl_SampleID" : "0")
|
ss << "#define LAST_FRAG_COLOR texelFetch(u_input_rt, int2(gl_FragCoord.xy), " << (msaa ? "gl_SampleID" : "0")
|
||||||
<< ")\n";
|
<< ")\n";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user