summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-11-11 09:11:37 +0800
committerChia-I Wu <[email protected]>2014-11-11 09:11:56 +0800
commit8abf4976c6efc11781170b957918128606f4a529 (patch)
tree3e842acd2e332c3b43b70b4aa3dec95768f96415 /src/gallium/drivers/ilo
parent9d6253cf823276c09f2639cb70b37b1e9347ed59 (diff)
ilo: prefix 3DSTATE_VF with gen75
3DSTATE_VF is Gen7.5+ only. Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ilo')
-rw-r--r--src/gallium/drivers/ilo/ilo_builder_3d_top.h6
-rw-r--r--src/gallium/drivers/ilo/ilo_render_gen6.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/ilo/ilo_builder_3d_top.h b/src/gallium/drivers/ilo/ilo_builder_3d_top.h
index 697a47769b8..39bd1e5d278 100644
--- a/src/gallium/drivers/ilo/ilo_builder_3d_top.h
+++ b/src/gallium/drivers/ilo/ilo_builder_3d_top.h
@@ -311,9 +311,9 @@ gen7_3DSTATE_URB_GS(struct ilo_builder *builder,
}
static inline void
-gen7_3DSTATE_VF(struct ilo_builder *builder,
- bool enable_cut_index,
- uint32_t cut_index)
+gen75_3DSTATE_VF(struct ilo_builder *builder,
+ bool enable_cut_index,
+ uint32_t cut_index)
{
const uint8_t cmd_len = 2;
uint32_t *dw;
diff --git a/src/gallium/drivers/ilo/ilo_render_gen6.c b/src/gallium/drivers/ilo/ilo_render_gen6.c
index 4221f694028..deaa5150068 100644
--- a/src/gallium/drivers/ilo/ilo_render_gen6.c
+++ b/src/gallium/drivers/ilo/ilo_render_gen6.c
@@ -447,7 +447,7 @@ gen6_draw_vf(struct ilo_render *r,
/* 3DSTATE_VF */
if (session->primitive_restart_changed) {
- gen7_3DSTATE_VF(r->builder, vec->draw->primitive_restart,
+ gen75_3DSTATE_VF(r->builder, vec->draw->primitive_restart,
vec->draw->restart_index);
}
}