summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_draw.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2015-01-26 16:37:38 +0800
committerChia-I Wu <[email protected]>2015-02-12 07:56:11 +0800
commitb64aeebbcce996ab7057a9af39a97e32689df13f (patch)
treed80d651011dbc456c22ed68a55d5115633a6e1e5 /src/gallium/drivers/ilo/ilo_draw.c
parent6f77bd3bdc3bfb004d3e4d0b17b641786e16cde9 (diff)
ilo: update streamout related functions for Gen8
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_draw.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_draw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_draw.c b/src/gallium/drivers/ilo/ilo_draw.c
index 1c9c4226650..9d1c419dd2a 100644
--- a/src/gallium/drivers/ilo/ilo_draw.c
+++ b/src/gallium/drivers/ilo/ilo_draw.c
@@ -296,8 +296,9 @@ draw_vbo(struct ilo_context *ilo, const struct ilo_state_vector *vec)
bool success = true;
int max_len, before_space;
- /* on GEN7+, we need SOL_RESET to reset the SO write offsets */
+ /* on Gen7 and Gen7.5, we need SOL_RESET to reset the SO write offsets */
if (ilo_dev_gen(ilo->dev) >= ILO_GEN(7) &&
+ ilo_dev_gen(ilo->dev) <= ILO_GEN(7.5) &&
(vec->dirty & ILO_DIRTY_SO) && vec->so.enabled &&
!vec->so.append_bitmask) {
ilo_cp_submit(ilo->cp, "SOL_RESET");