aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_reg.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-06-07 04:10:49 +0200
committerMarek Olšák <[email protected]>2010-06-07 04:26:16 +0200
commitb4483823d9c1205fb9ab8cf5b4c36ee610347a36 (patch)
tree1cbeee336790e2cb7e775ae1e369ab1453eef301 /src/gallium/drivers/r300/r300_reg.h
parentc6131879eb7dfdf26cd068109f6680608d608ab4 (diff)
r300g: fix 24-bit depth texturing
This is a secret texture format, do not tell anybody. And it looks like we can read stencil in the shader too.
Diffstat (limited to 'src/gallium/drivers/r300/r300_reg.h')
-rw-r--r--src/gallium/drivers/r300/r300_reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_reg.h b/src/gallium/drivers/r300/r300_reg.h
index 675a9317f9c..c4fa19ace53 100644
--- a/src/gallium/drivers/r300/r300_reg.h
+++ b/src/gallium/drivers/r300/r300_reg.h
@@ -1575,6 +1575,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
# define R500_TX_FORMAT_Y10X10 0x3
# define R500_TX_FORMAT_W10Z10Y10X10 0x4
# define R500_TX_FORMAT_ATI1N 0x5
+# define R500_TX_FORMAT_Y8X24 0x6
# define R300_TX_FORMAT_SIGNED_W (1 << 5)