vk: Add support for driver-internal custom pipelines

This lets us disable the viewport, use rect lists and repclear.
This commit is contained in:
Kristian Høgsberg
2015-05-11 23:20:01 -07:00
parent ad132bbe48
commit b734e0bcc5
3 changed files with 42 additions and 10 deletions

View File

@@ -1833,9 +1833,6 @@ VkResult VKAPI vkBeginCommandBuffer(
.ConstantBufferOffset = 8,
.ConstantBufferSize = 4);
anv_batch_emit(&cmd_buffer->batch, GEN8_3DSTATE_CLIP,
.ClipEnable = true,
.ViewportXYClipTestEnable = true);
anv_batch_emit(&cmd_buffer->batch, GEN8_3DSTATE_WM_CHROMAKEY,
.ChromaKeyKillEnable = false);
anv_batch_emit(&cmd_buffer->batch, GEN8_3DSTATE_SBE_SWIZ);