MetalDevice: Explicitly bind fragment resources

Fixes adaptive downsampling with Metal renderer.
This commit is contained in:
Stenzek
2023-12-18 18:44:22 +10:00
parent 6fe2177ee7
commit f4fb069216
4 changed files with 24 additions and 7 deletions

View File

@ -638,7 +638,7 @@ std::unique_ptr<GPUShader> MetalDevice::CreateShaderFromSource(GPUShaderStage st
return {};
}
std::optional<std::string> msl = SPIRVCompiler::CompileSPIRVToMSL(spirv.value());
std::optional<std::string> msl = SPIRVCompiler::CompileSPIRVToMSL(stage, spirv.value());
if (!msl.has_value())
{
Log_ErrorPrintf("Failed to compile SPIR-V to MSL.");