summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_reg.h
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2010-12-01 21:04:56 +0100
committerJakob Bornecrantz <[email protected]>2010-12-02 01:34:13 +0100
commit8af684e37e7bacfc40aa9cd5f30ca1f692d0c62c (patch)
tree8b94eb167422428f181d9685ca0b54c51caba1f4 /src/gallium/drivers/i915/i915_reg.h
parent9493fe85d1b10efc06e8c34de31971dc6e6a6062 (diff)
i915g: switch rendering to mipmapped textures to (x,y) offsets
Byte offsets simply don't work with tiled render targets when using tiling bits. Luckily we can cox the hw into doing the right thing with the DRAWING_RECT command by disabling the drawing rect offset for the depth buffer. Minor fixes by Jakob Bornecrantz. Signed-off-by: Daniel Vetter <[email protected]> Reviewed-by: Jakob Bornecrantz <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_reg.h')
-rw-r--r--src/gallium/drivers/i915/i915_reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_reg.h b/src/gallium/drivers/i915/i915_reg.h
index 1f6d8ac76bb..5e4e80ddf6b 100644
--- a/src/gallium/drivers/i915/i915_reg.h
+++ b/src/gallium/drivers/i915/i915_reg.h
@@ -851,6 +851,7 @@
#define MI_FLUSH ((0<<29)|(4<<23))
#define FLUSH_MAP_CACHE (1<<0)
#define INHIBIT_FLUSH_RENDER_CACHE (1<<2)
+#define MI_NOOP 0
#define CMD_3D (0x3<<29)