diff options
author | Chia-I Wu <[email protected]> | 2014-11-11 13:28:32 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-11-11 13:52:26 +0800 |
commit | 239dca78b13d8c033d75d1898b1d5e3d784c30d4 (patch) | |
tree | a919e4a498ec1724abe4d7282b3838a723b6d2e1 /src/gallium/drivers/ilo/ilo_render_gen7.c | |
parent | eab595d573ff7719a1960bdf819eda75a1aa4c26 (diff) |
ilo: clean up gen7_3DSTATE_STREAMOUT()
Render stream and render enable are independent from so enable. Having a
single return point makes it easier to see that.
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 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/drivers/ilo/ilo_render_gen7.c b/src/gallium/drivers/ilo/ilo_render_gen7.c index 2051f1254bb..08190e8cc4a 100644 --- a/src/gallium/drivers/ilo/ilo_render_gen7.c +++ b/src/gallium/drivers/ilo/ilo_render_gen7.c @@ -476,8 +476,9 @@ gen7_draw_sol(struct ilo_render *r, const int output_count = ilo_shader_get_kernel_param(shader, ILO_KERNEL_OUTPUT_COUNT); - gen7_3DSTATE_STREAMOUT(r->builder, buffer_mask, output_count, - vec->rasterizer->state.rasterizer_discard); + gen7_3DSTATE_STREAMOUT(r->builder, 0, + vec->rasterizer->state.rasterizer_discard, + buffer_mask, output_count); } } @@ -732,7 +733,7 @@ gen7_rectlist_vs_to_sf(struct ilo_render *r, gen7_3DSTATE_CONSTANT_GS(r->builder, NULL, NULL, 0); gen7_disable_3DSTATE_GS(r->builder); - gen7_3DSTATE_STREAMOUT(r->builder, 0x0, 0, false); + gen7_3DSTATE_STREAMOUT(r->builder, 0, false, 0x0, 0); gen6_disable_3DSTATE_CLIP(r->builder); |