1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-02 04:29:14 +01:00

[dxvk] Simplify validateGraphicsState

This commit is contained in:
Philip Rebohle 2019-04-24 23:16:52 +02:00
parent 981ea547f9
commit cd63cebc63

@ -3732,13 +3732,8 @@ namespace dxvk {
bool DxvkContext::validateGraphicsState() { bool DxvkContext::validateGraphicsState() {
if (m_gpActivePipeline == VK_NULL_HANDLE) return m_gpActivePipeline != VK_NULL_HANDLE
return false; && m_flags.test(DxvkContextFlag::GpRenderPassBound);
if (!m_flags.test(DxvkContextFlag::GpRenderPassBound))
return false;
return true;
} }