summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/genhw
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2015-06-18 14:26:29 +0800
committerChia-I Wu <[email protected]>2015-06-20 11:14:14 +0800
commit4555211028394673f8ad68f3de9c12e9a1f93160 (patch)
treec9d885b73ee4253b91a4fe7e22171e76b63fc90e /src/gallium/drivers/ilo/genhw
parente8d297b7a108fcf1cb688fe1db89e83b8f85e091 (diff)
ilo: add 3DSTATE_VF_INSTANCING to ilo_state_vf
3DSTATE_VF_INSTANCING specifies instancing enable and step rate. They are specified along with 3DSTATE_VERTEX_BUFFERS instead prior to Gen8. Both commands are added.
Diffstat (limited to 'src/gallium/drivers/ilo/genhw')
-rw-r--r--src/gallium/drivers/ilo/genhw/gen_render_3d.xml.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/ilo/genhw/gen_render_3d.xml.h b/src/gallium/drivers/ilo/genhw/gen_render_3d.xml.h
index 60e3922e286..52173fe5d07 100644
--- a/src/gallium/drivers/ilo/genhw/gen_render_3d.xml.h
+++ b/src/gallium/drivers/ilo/genhw/gen_render_3d.xml.h
@@ -394,8 +394,8 @@ enum gen_msrast_mode {
#define GEN8_INSTANCING_DW1_ENABLE (0x1 << 8)
-#define GEN8_INSTANCING_DW1_VB_INDEX__MASK 0x0000003f
-#define GEN8_INSTANCING_DW1_VB_INDEX__SHIFT 0
+#define GEN8_INSTANCING_DW1_VE_INDEX__MASK 0x0000003f
+#define GEN8_INSTANCING_DW1_VE_INDEX__SHIFT 0
#define GEN8_3DSTATE_VF_SGVS__SIZE 2