pica_to_vk: Set cull mode correctly
This commit is contained in:
@ -250,7 +250,7 @@ inline vk::CullModeFlags CullMode(Pica::RasterizerRegs::CullMode mode) {
|
||||
return vk::CullModeFlagBits::eNone;
|
||||
case Pica::RasterizerRegs::CullMode::KeepClockWise:
|
||||
case Pica::RasterizerRegs::CullMode::KeepCounterClockWise:
|
||||
return vk::CullModeFlagBits::eNone;
|
||||
return vk::CullModeFlagBits::eBack;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1046,8 +1046,7 @@ void RendererVulkan::SwapBuffers() {
|
||||
runtime.OnSlotSwitch(scheduler.GetCurrentSlotIndex());
|
||||
|
||||
// When the command buffer switches, all state becomes undefined.
|
||||
// This is problematic when using dynamic states, so set all
|
||||
// states here
|
||||
// This is problematic with dynamic states, so set all states here
|
||||
if (instance.IsExtendedDynamicStateSupported()) {
|
||||
rasterizer->SyncFixedState();
|
||||
}
|
||||
|
Reference in New Issue
Block a user