This commit is contained in:
Бранимир Караџић
2020-11-01 21:28:42 -08:00
parent 3a297ed3c0
commit 925cee63c0
2 changed files with 8 additions and 8 deletions

View File

@@ -6943,8 +6943,6 @@ VK_DESTROY
, uint8_t(draw.m_instanceDataStride/16)
);
uint16_t scissor = draw.m_scissor;
if (pipeline != currentPipeline
|| 0 != changedStencil)
{
@@ -6975,6 +6973,8 @@ VK_DESTROY
// m_commandList->IASetPrimitiveTopology(prim.m_topology);
}
const uint16_t scissor = draw.m_scissor;
if (currentState.m_scissor != scissor)
{
currentState.m_scissor = scissor;