vc4: Drop the unused "stride" field of surfaces.
authorEric Anholt <eric@anholt.net>
Mon, 15 Jun 2015 18:41:06 +0000 (11:41 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 16 Jun 2015 22:15:14 +0000 (15:15 -0700)
We're always looking at the slice anyway, when we would have needed it.

src/gallium/drivers/vc4/vc4_resource.h

index a81c470..ab8f5d3 100644 (file)
@@ -45,7 +45,6 @@ struct vc4_resource_slice {
 struct vc4_surface {
         struct pipe_surface base;
         uint32_t offset;
-        uint32_t stride;
         uint8_t tiling;
 };