speed up framebuffer fetch lookup

This commit is contained in:
Samuliak 2025-01-19 10:25:28 +01:00
parent 9e94451093
commit db8c7de236
No known key found for this signature in database
2 changed files with 37 additions and 18 deletions

View file

@ -2299,6 +2299,7 @@ static void _emitTEXSampleTextureCode(LatteDecompilerShaderContext* shaderContex
if (static_cast<MetalRenderer*>(g_renderer.get())->SupportsFramebufferFetch() && renderTargetIndex != 255)
{
// TODO: support comparison samplers
// TODO: support swizzling
src->addFmt("col{}", renderTargetIndex);
}
else