diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_builder_3d_top.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_builder_3d_top.h b/src/gallium/drivers/ilo/ilo_builder_3d_top.h index 6d6fa0e65ac..85f1b3b3e28 100644 --- a/src/gallium/drivers/ilo/ilo_builder_3d_top.h +++ b/src/gallium/drivers/ilo/ilo_builder_3d_top.h @@ -432,6 +432,9 @@ gen6_user_3DSTATE_VERTEX_BUFFERS(struct ilo_builder *builder, dw[0] = 0 << GEN6_VB_STATE_DW0_INDEX__SHIFT | GEN6_VB_STATE_DW0_ACCESS_VERTEXDATA | stride << GEN6_VB_STATE_DW0_PITCH__SHIFT; + if (ilo_dev_gen(builder->dev) >= ILO_GEN(7)) + dw[0] |= GEN7_VB_STATE_DW0_ADDR_MODIFIED; + dw[3] = 0; ilo_builder_batch_reloc(builder, pos + 1, bat->bo, vb_begin, 0); |