summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRhys Perry <[email protected]>2018-05-11 13:03:28 +0100
committerIlia Mirkin <[email protected]>2018-05-13 13:21:41 -0400
commit8f6cbb8c7d5f1b05ffef53de4076a0a187c2f332 (patch)
tree24ce63cf5fad2469d9cc93543f0f820fe32bb550 /src
parentc879011c72cd6f088bf917497f5689db5bd5bda5 (diff)
nvc0: fix setting of subpixel precision during conservative rasterization
Fixes: 07dac3e040 ("nvc0: add conservative rasterization support") Signed-off-by: Rhys Perry <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/nouveau/nvc0/mme/com9097.mme2
-rw-r--r--src/gallium/drivers/nouveau/nvc0/mme/com9097.mme.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/mme/com9097.mme b/src/gallium/drivers/nouveau/nvc0/mme/com9097.mme
index ecf99606672..38c2e868431 100644
--- a/src/gallium/drivers/nouveau/nvc0/mme/com9097.mme
+++ b/src/gallium/drivers/nouveau/nvc0/mme/com9097.mme
@@ -569,7 +569,7 @@ qbw_done:
mov $r2 0x831
send (extrinsrt 0x0 $r2 0 12 11) /* sends 0x418800 */
/* Subpixel precision */
- mov $r2 (extrinsrt 0x0 $r1 0 3 0)
+ mov $r2 (extrinsrt 0x0 $r1 0 4 0)
mov $r2 (extrinsrt $r2 $r1 4 4 8)
maddr 0x8287 /* SUBPIXEL_PRECISION[0] (incrementing by 8 methods) */
mov $r3 16 /* loop counter */
diff --git a/src/gallium/drivers/nouveau/nvc0/mme/com9097.mme.h b/src/gallium/drivers/nouveau/nvc0/mme/com9097.mme.h
index 3eacda9a27a..49c08911142 100644
--- a/src/gallium/drivers/nouveau/nvc0/mme/com9097.mme.h
+++ b/src/gallium/drivers/nouveau/nvc0/mme/com9097.mme.h
@@ -384,7 +384,7 @@ uint32_t mme9097_conservative_raster_state[] = {
0x06310021,
0x020c4211,
0x5b008042,
- 0x00c04212,
+ 0x01004212,
0x41085212,
0x20a1c021,
0x00040311,