radv: reduce radv_cmd_state struct size.
authorDave Airlie <airlied@redhat.com>
Wed, 6 Sep 2017 03:38:30 +0000 (13:38 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Sep 2017 01:00:08 +0000 (11:00 +1000)
1632->1624.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_private.h

index 07e3a49a7025e612af0d4572d609904b64008263..e34f535ea2fe061e30b8dd0361cadea112df32da 100644 (file)
@@ -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 {