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:
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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user