aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/r600_pipe_common.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-09-17 11:10:04 +0200
committerNicolai Hähnle <[email protected]>2017-10-02 15:07:43 +0200
commitf86a112b07f01e267828fc255ffd63f223d2d5bb (patch)
tree46a59c5191f53ba69020ab0a8f46aaa190756c10 /src/gallium/drivers/radeon/r600_pipe_common.h
parent6f83085ec08a5fab78bf385ef425493eaefebc1a (diff)
radeonsi: move current_rast_prim to r600_common_context
We'll use it in the scissors / clip / guardband state. v2: avoid a performance regression on r600 when applied to (pre-fork) stable branches Cc: [email protected] Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_pipe_common.h')
-rw-r--r--src/gallium/drivers/radeon/r600_pipe_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h b/src/gallium/drivers/radeon/r600_pipe_common.h
index debedd402b4..f6ded92dc5b 100644
--- a/src/gallium/drivers/radeon/r600_pipe_common.h
+++ b/src/gallium/drivers/radeon/r600_pipe_common.h
@@ -599,6 +599,7 @@ struct r600_common_context {
/* Additional context states. */
unsigned flags; /* flush flags */
+ enum pipe_prim_type current_rast_prim; /* primitive type after TES, GS */
/* Queries. */
/* Maintain the list of active queries for pausing between IBs. */