mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-07 23:41:18 +12:00
speed up framebuffer fetch lookup
This commit is contained in:
parent
9e94451093
commit
db8c7de236
2 changed files with 37 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue