anv/cmd_state: Drop the scratch_size field
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 15 Dec 2017 16:52:21 +0000 (08:52 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 24 Jan 2018 05:10:19 +0000 (21:10 -0800)
This is a legacy left-over from the mechanism we used to use to handle
scratch.  The new (and better) mechanism doesn't use this.

Tested-by: Józef Kucia <joseph.kucia@gmail.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Cc: "18.0" <mesa-stable@lists.freedesktop.org>
src/intel/vulkan/anv_private.h

index a8b3820ffe1c25a2e4bf3033ab05aacd422ff299..5043305ccf2dc7b8a23541bb474126e0aedafe79 100644 (file)
@@ -1676,7 +1676,6 @@ struct anv_cmd_state {
    struct anv_bo                                *num_workgroups_bo;
    VkShaderStageFlags                           descriptors_dirty;
    VkShaderStageFlags                           push_constants_dirty;
-   uint32_t                                     scratch_size;
    struct anv_pipeline *                        pipeline;
    struct anv_pipeline *                        compute_pipeline;
    struct anv_framebuffer *                     framebuffer;