summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/svga/svga_screen_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/svga/svga_screen_cache.h')
-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 b745769848..f5aa740d40 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 */
};