diff options
author | Chia-I Wu <[email protected]> | 2014-11-11 10:35:24 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-11-11 13:52:22 +0800 |
commit | 421b565b3bdc1b8646c32f4292f180a86bad952b (patch) | |
tree | 638896145b2ae3347c43bf39d7b92db6fef80e14 /src/gallium/drivers/ilo/ilo_render_gen7.c | |
parent | 63ded78e1cc1748bd5e74fcb4bcead6d58093668 (diff) |
ilo: add variants of 3DSTATE_GS
Add gen6_so_3DSTATE_GS(), gen6_disable_3DSTATE_GS(), and
gen7_disable_3DSTATE_GS() to do SO on GEN6 or to disable GS.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_render_gen7.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_render_gen7.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/ilo/ilo_render_gen7.c b/src/gallium/drivers/ilo/ilo_render_gen7.c index a8c24434bce..9943ec50336 100644 --- a/src/gallium/drivers/ilo/ilo_render_gen7.c +++ b/src/gallium/drivers/ilo/ilo_render_gen7.c @@ -421,7 +421,7 @@ gen7_draw_gs(struct ilo_render *r, /* 3DSTATE_CONSTANT_GS and 3DSTATE_GS */ if (r->hw_ctx_changed) { gen7_3DSTATE_CONSTANT_GS(r->builder, 0, 0, 0); - gen7_3DSTATE_GS(r->builder, NULL); + gen7_disable_3DSTATE_GS(r->builder); } /* 3DSTATE_BINDING_TABLE_POINTERS_GS */ @@ -732,7 +732,7 @@ gen7_rectlist_vs_to_sf(struct ilo_render *r, gen7_3DSTATE_DS(r->builder, NULL); gen7_3DSTATE_CONSTANT_GS(r->builder, NULL, NULL, 0); - gen7_3DSTATE_GS(r->builder, NULL); + gen7_disable_3DSTATE_GS(r->builder); gen7_3DSTATE_STREAMOUT(r->builder, 0x0, 0, false); |