Module: Mesa
Branch: mesa_7_7_branch
Commit: 55b0157860af0eb957262cb0d22ab47eccd85940
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=55b0157860af0eb957262cb0d22ab47eccd85940

Author: Keith Whitwell <[email protected]>
Date:   Wed Nov 25 11:44:41 2009 +0000

svga: revert packing of surface key

Over-ambitious packing of values broke my cursor.

---

 src/gallium/drivers/svga/svga_screen_cache.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gallium/drivers/svga/svga_screen_cache.h 
b/src/gallium/drivers/svga/svga_screen_cache.h
index b745769..f5aa740 100644
--- a/src/gallium/drivers/svga/svga_screen_cache.h
+++ b/src/gallium/drivers/svga/svga_screen_cache.h
@@ -58,10 +58,10 @@ struct svga_screen;
  */
 struct svga_host_surface_cache_key
 {
+   SVGA3dSurfaceFlags flags;
+   SVGA3dSurfaceFormat format;
    SVGA3dSize size;
-   uint32_t flags:8;
-   uint32_t format:8;
-   uint32_t numFaces:8;
+   uint32_t numFaces:24;
    uint32_t numMipLevels:7;
    uint32_t cachable:1;         /* False if this is a shared surface */
 };

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to