summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-09-06 13:38:30 +1000
committerDave Airlie <[email protected]>2017-09-07 11:00:08 +1000
commita2c2a76c9e282d2fffead5217824beeb38ca3959 (patch)
tree3f57a04b84281de70a8b1dfbde62a93f8518c0f5 /src/amd
parentf45e7684132e33eae124d33ebbc3388e5a2deb49 (diff)
radv: reduce radv_cmd_state struct size.
1632->1624. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/vulkan/radv_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index 07e3a49a702..e34f535ea2f 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -763,6 +763,7 @@ struct radv_cmd_state {
uint32_t vb_dirty;
radv_cmd_dirty_mask_t dirty;
bool push_descriptors_dirty;
+ bool predicating;
struct radv_pipeline * pipeline;
struct radv_pipeline * emitted_pipeline;
@@ -777,8 +778,8 @@ struct radv_cmd_state {
struct radv_attachment_state * attachments;
VkRect2D render_area;
uint32_t index_type;
- uint64_t index_va;
uint32_t max_index_count;
+ uint64_t index_va;
int32_t last_primitive_reset_en;
uint32_t last_primitive_reset_index;
enum radv_cmd_flush_bits flush_bits;
@@ -787,7 +788,6 @@ struct radv_cmd_state {
uint32_t descriptors_dirty;
uint32_t trace_id;
uint32_t last_ia_multi_vgt_param;
- bool predicating;
};
struct radv_cmd_pool {