diff options
author | Jakob Bornecrantz <[email protected]> | 2011-04-07 18:46:09 +0100 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-09-23 07:58:45 -0600 |
commit | 4e0ae3e34f50d1f66a04337b563da22250c8b8d2 (patch) | |
tree | 7e74cfb2cedd929246bf6bbbf5c95992c73edac7 /src/gallium/drivers/svga/svga_screen.h | |
parent | fd69fc87444af8ead30b4af64598a98df7969397 (diff) |
svga: Expose the new depth formats
Diffstat (limited to 'src/gallium/drivers/svga/svga_screen.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_screen.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.h b/src/gallium/drivers/svga/svga_screen.h index 6d8d287ce95..1c5eae8e49f 100644 --- a/src/gallium/drivers/svga/svga_screen.h +++ b/src/gallium/drivers/svga/svga_screen.h @@ -65,6 +65,14 @@ struct svga_screen pipe_mutex swc_mutex; /* Used for buffer uploads */ + /* which formats to translate depth formats into */ + struct { + enum SVGA3dSurfaceFormat z16; + /* note gallium order */ + enum SVGA3dSurfaceFormat x8z24; + enum SVGA3dSurfaceFormat s8z24; + } depth; + struct svga_host_surface_cache cache; }; |