metal: minimalize texture hardcoding

This commit is contained in:
Samuliak 2024-04-10 17:41:45 +02:00
parent 98c4ff461f
commit e3ab4c6349
No known key found for this signature in database

View file

@ -87,8 +87,8 @@ void GraphicsPipeline::Configure(bool is_indexed) {
} }
} }
auto a = gpu_memory->Read<u32>(addr); auto a = gpu_memory->Read<u32>(addr);
// HACK: hardcode the image // HACK: this particular texture breaks SMO
if (a != 310378932) if (a == 310378931)
a = 310378932; a = 310378932;
return TexturePair(a, false); return TexturePair(a, false);