summaryrefslogtreecommitdiffstats
path: root/src/vulkan/gen8_pipeline.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-11-16 16:29:33 -0800
committerJason Ekstrand <[email protected]>2015-11-17 08:27:51 -0800
commit0508046dc839a2ebd2800f169b45f2d3243dcda6 (patch)
tree3925f1b3df67f70b7d2205e7ec13f7ce464feee1 /src/vulkan/gen8_pipeline.c
parent34d55d69cfe592068a72ed7a5ca9adc1ee080976 (diff)
anv/cmd_buffer: Pack the 3DSTATE_VF packet on-demand
Diffstat (limited to 'src/vulkan/gen8_pipeline.c')
-rw-r--r--src/vulkan/gen8_pipeline.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vulkan/gen8_pipeline.c b/src/vulkan/gen8_pipeline.c
index 81bc254b3f7..9d4ee9927cf 100644
--- a/src/vulkan/gen8_pipeline.c
+++ b/src/vulkan/gen8_pipeline.c
@@ -83,12 +83,6 @@ emit_ia_state(struct anv_pipeline *pipeline,
const VkPipelineInputAssemblyStateCreateInfo *info,
const struct anv_graphics_pipeline_create_info *extra)
{
- struct GEN8_3DSTATE_VF vf = {
- GEN8_3DSTATE_VF_header,
- .IndexedDrawCutIndexEnable = pipeline->primitive_restart
- };
- GEN8_3DSTATE_VF_pack(NULL, pipeline->gen8.vf, &vf);
-
anv_batch_emit(&pipeline->batch, GEN8_3DSTATE_VF_TOPOLOGY,
.PrimitiveTopologyType = pipeline->topology);
}