mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-19 15:58:43 +00:00
VideoCommon: Add separate pipeline usage for UberShaders
This commit is contained in:
parent
d289e9c51c
commit
99533d2840
9 changed files with 19 additions and 18 deletions
|
@ -608,7 +608,7 @@ void Metal::StateTracker::PrepareRender()
|
|||
BeginRenderPass(MTLLoadActionLoad);
|
||||
id<MTLRenderCommandEncoder> enc = m_current_render_encoder;
|
||||
const Pipeline* pipe = m_state.render_pipeline;
|
||||
bool is_gx = pipe->Usage() == AbstractPipelineUsage::GX;
|
||||
bool is_gx = pipe->Usage() != AbstractPipelineUsage::Utility;
|
||||
NSString* label = is_gx ? LABEL_GX : LABEL_UTIL;
|
||||
if (m_flags.should_apply_label && m_current.label != label)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue