radv: reduce radv_shader_variant struct size.
authorDave Airlie <airlied@redhat.com>
Wed, 6 Sep 2017 03:39:07 +0000 (13:39 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Sep 2017 01:00:08 +0000 (11:00 +1000)
544->536

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

index e34f535ea2fe061e30b8dd0361cadea112df32da..6ec21f58d352b95809d585e03e3f87ec4f84d13b 100644 (file)
@@ -1005,10 +1005,10 @@ struct radv_shader_variant {
        struct radeon_winsys_bo *bo;
        uint64_t bo_offset;
        struct ac_shader_config config;
+       uint32_t code_size;
        struct ac_shader_variant_info info;
        unsigned rsrc1;
        unsigned rsrc2;
-       uint32_t code_size;
 
        struct list_head slab_list;
 };