summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-02-20 11:42:05 -0500
committerMarek Olšák <[email protected]>2019-05-16 13:13:36 -0400
commit9f505ce21d675b102cb2c89ac1ab2f03d6680b22 (patch)
treea9d6575cd5c5d642171044fbe04f53390997b536 /src/gallium/drivers/radeonsi/si_pipe.h
parent0252fb92b88a3f3e0c35f8876678b84ef0672509 (diff)
radeonsi: disable primitive restart for triangles for DiRT Rally
It may decrease performance and it prevents compute-based primitive culling. Acked-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
index 0fd3ec46755..c3a62e8f355 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.h
+++ b/src/gallium/drivers/radeonsi/si_pipe.h
@@ -1360,7 +1360,8 @@ enum si_prim_discard_outcome {
void si_build_prim_discard_compute_shader(struct si_shader_context *ctx);
enum si_prim_discard_outcome
si_prepare_prim_discard_or_split_draw(struct si_context *sctx,
- const struct pipe_draw_info *info);
+ const struct pipe_draw_info *info,
+ bool primitive_restart);
void si_compute_signal_gfx(struct si_context *sctx);
void si_dispatch_prim_discard_cs_and_draw(struct si_context *sctx,
const struct pipe_draw_info *info,