ShaderGen: Fix compile error with Metal+Barriers

pull/3199/head
Stenzek 10 months ago
parent 7626a9bf9c
commit 72607ecdf6

@ -609,7 +609,7 @@ void ShaderGen::DeclareFragmentEntryPoint(
}
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")
<< ")\n";
}

Loading…
Cancel
Save