mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
ilo: prefix 3DSTATE_VF with gen75
3DSTATE_VF is Gen7.5+ only. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
This commit is contained in:
parent
9d6253cf82
commit
8abf4976c6
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue