summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-25 11:44:41 +0000
committerKeith Whitwell <[email protected]>2009-11-25 11:45:20 +0000
commit55b0157860af0eb957262cb0d22ab47eccd85940 (patch)
tree3920f252ea1ab87ef6a24234cf4ea9c408b17d6b /src
parent92c6a26a8a0f6ce540fe7c9681fb9a30b0da9e5f (diff)
svga: revert packing of surface key
Over-ambitious packing of values broke my cursor.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/svga/svga_screen_cache.h6
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 b7457698484..f5aa740d408 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 */
};