summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_reg.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-09-26 19:32:46 +1000
committerDave Airlie <airlied@redhat.com>2009-09-26 19:32:46 +1000
commiteb5dd947fbed35478784e777fe2e59564fee051b (patch)
tree2565ba63bf614efde1c7b22ebb764f61f17aa5ab /src/gallium/drivers/r300/r300_reg.h
parent9bf85f6b95cb684d16b6035381b1f8a9c44f473f (diff)
r300g: add tx depth support in register.
also enable cube/3d bits in txformat reg
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 03cd219cde..3abff5db62 100644
--- a/src/gallium/drivers/r300/r300_reg.h
+++ b/src/gallium/drivers/r300/r300_reg.h
@@ -1478,6 +1478,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
# define R300_TX_PITCH_EN (1 << 31)
# define R300_TX_WIDTH(x) ((x) << 0)
# define R300_TX_HEIGHT(x) ((x) << 11)
+# define R300_TX_DEPTH(x) ((x) << 22)
# define R300_TX_NUM_LEVELS(x) ((x) << 26)
#define R300_TX_FORMAT1_0 0x44C0