projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92c6a26
)
svga: revert packing of surface key
author
Keith Whitwell
<keithw@vmware.com>
Wed, 25 Nov 2009 11:44:41 +0000
(11:44 +0000)
committer
Keith Whitwell
<keithw@vmware.com>
Wed, 25 Nov 2009 11:45:20 +0000
(11:45 +0000)
Over-ambitious packing of values broke my cursor.
src/gallium/drivers/svga/svga_screen_cache.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_screen_cache.h
b/src/gallium/drivers/svga/svga_screen_cache.h
index
b745769
..
f5aa740
100644
(file)
--- 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 */
};