summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Mandin <patmandin@gmail.com>2009-10-13 22:50:46 +0200
committerPatrice Mandin <patmandin@gmail.com>2009-10-13 22:50:46 +0200
commit3a387a983ec40cd443e22c1f8d9a6b5b5a8fa0d1 (patch)
tree091b4dba6a89ac407c4ecef2ad05c3dc64e1db0b
parenta221e4fd929f77e1851fb0089338f1cd5001ddde (diff)
nouveau: nv30: add render target logbase2 width,height
-rw-r--r--libdrm/nouveau/nouveau_class.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdrm/nouveau/nouveau_class.h b/libdrm/nouveau/nouveau_class.h
index 4d1c509c..c7dda02e 100644
--- a/libdrm/nouveau/nouveau_class.h
+++ b/libdrm/nouveau/nouveau_class.h
@@ -4844,6 +4844,10 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define NV34TCL_RT_VERT_H_SHIFT 16
#define NV34TCL_RT_VERT_H_MASK 0xffff0000
#define NV34TCL_RT_FORMAT 0x00000208
+#define NV34TCL_RT_FORMAT_LOG2_HEIGHT_SHIFT 24
+#define NV34TCL_RT_FORMAT_LOG2_HEIGHT_MASK 0xff000000
+#define NV34TCL_RT_FORMAT_LOG2_WIDTH_SHIFT 16
+#define NV34TCL_RT_FORMAT_LOG2_WIDTH_MASK 0x00ff0000
#define NV34TCL_RT_FORMAT_TYPE_SHIFT 8
#define NV34TCL_RT_FORMAT_TYPE_MASK 0x00000f00
#define NV34TCL_RT_FORMAT_TYPE_LINEAR 0x00000100