Mesa (master): vc4: Drop the unused "stride" field of surfaces.

Eric Anholt anholt at kemper.freedesktop.org
Tue Jun 16 22:20:05 UTC 2015


Module: Mesa
Branch: master
Commit: 596532cc7d477671f87116e0788b4214ae1d0559
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=596532cc7d477671f87116e0788b4214ae1d0559

Author: Eric Anholt <eric at anholt.net>
Date:   Mon Jun 15 11:41:06 2015 -0700

vc4: Drop the unused "stride" field of surfaces.

We're always looking at the slice anyway, when we would have needed it.

---

 src/gallium/drivers/vc4/vc4_resource.h |    1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/drivers/vc4/vc4_resource.h b/src/gallium/drivers/vc4/vc4_resource.h
index a81c470..ab8f5d3 100644
--- a/src/gallium/drivers/vc4/vc4_resource.h
+++ b/src/gallium/drivers/vc4/vc4_resource.h
@@ -45,7 +45,6 @@ struct vc4_resource_slice {
 struct vc4_surface {
         struct pipe_surface base;
         uint32_t offset;
-        uint32_t stride;
         uint8_t tiling;
 };
 




More information about the mesa-commit mailing list