summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nouveau_class.h
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-09-04 02:57:14 +0200
committerLuca Barbieri <[email protected]>2010-09-04 02:57:14 +0200
commit71a8544f89d736d481b15da421110ac275d7c24f (patch)
tree11550c78dcc2cf61c36bf1b8c859150b3a02e47a /src/gallium/drivers/nouveau/nouveau_class.h
parent5dd296bcb106bccf6b7fb070d4bc877d9612642d (diff)
nvfx: support all coord conventions in hardware
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_class.h')
-rw-r--r--src/gallium/drivers/nouveau/nouveau_class.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_class.h b/src/gallium/drivers/nouveau/nouveau_class.h
index 3c2248b6249..79681d277be 100644
--- a/src/gallium/drivers/nouveau/nouveau_class.h
+++ b/src/gallium/drivers/nouveau/nouveau_class.h
@@ -6508,6 +6508,16 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define NV34TCL_MULTISAMPLE_CONTROL_SAMPLE_ALPHA_TO_ONE (1 << 8)
#define NV34TCL_MULTISAMPLE_CONTROL_SAMPLE_COVERAGE_SHIFT 16
#define NV34TCL_MULTISAMPLE_CONTROL_SAMPLE_COVERAGE_MASK 0xffff0000
+#define NV34TCL_COORD_CONVENTIONS 0x00001d88
+#define NV34TCL_COORD_CONVENTIONS_HEIGHT_SHIFT 0
+#define NV34TCL_COORD_CONVENTIONS_ORIGIN_NORMAL (0 << 12)
+#define NV34TCL_COORD_CONVENTIONS_ORIGIN_INVERTED (1 << 12)
+#define NV34TCL_COORD_CONVENTIONS_ORIGIN_SHIFT 12
+#define NV34TCL_COORD_CONVENTIONS_ORIGIN_MASK (1 << 12)
+#define NV34TCL_COORD_CONVENTIONS_CENTER_HALF_INTEGER (0 << 16)
+#define NV34TCL_COORD_CONVENTIONS_CENTER_INTEGER (1 << 16)
+#define NV34TCL_COORD_CONVENTIONS_CENTER_SHIFT 16
+#define NV34TCL_COORD_CONVENTIONS_CENTER_MASK (1 << 16)
#define NV34TCL_CLEAR_DEPTH_VALUE 0x00001d8c
#define NV34TCL_CLEAR_COLOR_VALUE 0x00001d90
#define NV34TCL_CLEAR_COLOR_VALUE_B_SHIFT 0