implement gather sampling

This commit is contained in:
Samuliak 2024-08-29 14:03:48 +02:00
parent 074f9f6f3e
commit ccd72bfe45
2 changed files with 10 additions and 4 deletions

View file

@ -968,6 +968,8 @@ void MetalRenderer::draw_execute(uint32 baseVertex, uint32 baseInstance, uint32
// Blend color
float* blendColorConstant = (float*)LatteGPUState.contextRegister + Latte::REGADDR::CB_BLEND_RED;
// TODO: only set when changed
renderCommandEncoder->setBlendColor(blendColorConstant[0], blendColorConstant[1], blendColorConstant[2], blendColorConstant[3]);
// polygon control