summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-09-06 00:35:12 +0200
committerMarek Olšák <[email protected]>2016-09-07 11:13:13 +0200
commitfe40a65fb6210206720776662f202879777057cd (patch)
tree05c051b4814fea321fc85ffadf8cdba8e751bd84 /src/gallium/drivers/radeonsi/si_pipe.h
parentbdf767dac4d6229bc80642bb806cc56f6d440cfc (diff)
radeonsi: skip redundant INDEX_TYPE writes
Ported from Vulkan. Reviewed-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
index 5c041ce88b6..a648d868225 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.h
+++ b/src/gallium/drivers/radeonsi/si_pipe.h
@@ -307,6 +307,7 @@ struct si_context {
bool occlusion_queries_disabled;
/* Emitted draw state. */
+ int last_index_size;
int last_base_vertex;
int last_start_instance;
int last_drawid;