mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-08 16:01:19 +12:00
fix: shadows
This commit is contained in:
parent
5c246d55bd
commit
a38ddb5fc2
8 changed files with 91 additions and 74 deletions
|
@ -19,6 +19,7 @@
|
|||
#include "Metal/MTLResource.hpp"
|
||||
#include "Metal/MTLTypes.hpp"
|
||||
#include "gui/guiWrapper.h"
|
||||
#include <stdexcept>
|
||||
|
||||
extern bool hasValidFramebufferAttached;
|
||||
|
||||
|
@ -596,8 +597,7 @@ void MetalRenderer::draw_execute(uint32 baseVertex, uint32 baseInstance, uint32
|
|||
debug_printf("no vertex function, skipping draw\n");
|
||||
return;
|
||||
}
|
||||
|
||||
auto fetchShader = vertexShader->compatibleFetchShader;
|
||||
const auto fetchShader = LatteSHRC_GetActiveFetchShader();
|
||||
|
||||
// Render pipeline state
|
||||
MTL::RenderPipelineState* renderPipelineState = m_pipelineCache->GetPipelineState(fetchShader, vertexShader, pixelShader, m_state.activeFBO, LatteGPUState.contextNew);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue