diff options
author | Marek Olšák <marek.olsak@amd.com> | 2016-09-06 00:35:12 +0200 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2016-09-07 11:13:13 +0200 |
commit | fe40a65fb6210206720776662f202879777057cd (patch) | |
tree | 05c051b4814fea321fc85ffadf8cdba8e751bd84 /src/gallium/drivers/radeonsi/si_pipe.h | |
parent | bdf767dac4d6229bc80642bb806cc56f6d440cfc (diff) |
radeonsi: skip redundant INDEX_TYPE writes
Ported from Vulkan.
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 1 |
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; |