Fix async PSO accounting for alpha to coverage even when MSAA is off.

This commit is contained in:
Skyth 2024-11-26 23:09:41 +03:00
parent e92d839e4b
commit c261a0ef9c

View file

@ -4451,7 +4451,7 @@ static void CompileMeshPipeline(Hedgehog::Mirage::CMeshData* mesh, MeshLayer lay
if (layer == MeshLayer::PunchThrough)
{
if (Config::AlphaToCoverage)
if (Config::MSAA > 1 && Config::AlphaToCoverage)
{
pipelineState.enableAlphaToCoverage = true;
pipelineState.specConstants |= SPEC_CONSTANT_ALPHA_TO_COVERAGE;