[Mesa-dev] [PATCH 02/17] anv/cmd_state: Drop the scratch_size field

Jason Ekstrand jason at jlekstrand.net
Sat Dec 16 01:09:00 UTC 2017


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.
---
 src/intel/vulkan/anv_private.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index b7bde4b..2d35aaa 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -1689,7 +1689,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;
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list