diff options
author | Chia-I Wu <[email protected]> | 2014-10-09 03:30:17 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-10-09 03:37:04 +0800 |
commit | 4e50a32be6343bdcdbdb9e163bb3402216c72496 (patch) | |
tree | 7ad287b7b4ec829021d328880a465b0bdd0dcb62 /src/gallium/drivers | |
parent | 581418585e5dee3cca1b42c472b72aa9c74140bb (diff) |
ilo: fix rectlist on GEN7+
It was broken by 343b014b57ecc5431477e090100e6a26edbda540.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-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); |