panfrost: Get rid of unused panfrost_context fields
authorBoris Brezillon <boris.brezillon@collabora.com>
Thu, 5 Sep 2019 19:41:31 +0000 (21:41 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Sun, 8 Sep 2019 14:23:34 +0000 (16:23 +0200)
Some fields in panfrost_context are unused (probably leftovers from
previous refactor). Let's get rid of them.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/pan_context.h

index 8f9cc44fedac87cd7d89cec4729829ad37cf0f41..9723d56ac5f78347d94225dcbbf4584ce068c48b 100644 (file)
@@ -129,8 +129,6 @@ struct panfrost_context {
         struct panfrost_bo *scratchpad;
         struct panfrost_bo *tiler_heap;
         struct panfrost_bo *tiler_dummy;
-        struct panfrost_memory cmdstream_persistent;
-        struct panfrost_memory depth_stencil_buffer;
 
         bool active_queries;
         uint64_t prims_generated;
@@ -157,8 +155,6 @@ struct panfrost_context {
          * it is disabled, just equal to plain vertex count */
         unsigned padded_count;
 
-        union mali_attr attributes[PIPE_MAX_ATTRIBS];
-
         /* TODO: Multiple uniform buffers (index =/= 0), finer updates? */
 
         struct panfrost_constant_buffer constant_buffer[PIPE_SHADER_TYPES];