summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2015-01-06 11:08:31 -0800
committerJordan Justen <jordan.l.justen@intel.com>2015-01-06 11:08:31 -0800
commit94dd1dab0950825b8f356d7a5ec85840896159f8 (patch)
tree0f877aba284366f5d9350468e80f9d4557952af4
parentc8b507e36137bb968d1e57623291b96f93fde366 (diff)
i965: Don't use viewport transform with INTEL rectlistsintel-rectlist
TODO: We should delete brw->sf.viewport_transform_enable. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
-rw-r--r--src/mesa/drivers/dri/i965/gen7_sf_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen7_sf_state.c b/src/mesa/drivers/dri/i965/gen7_sf_state.c
index b9838470c64..dbd1125b536 100644
--- a/src/mesa/drivers/dri/i965/gen7_sf_state.c
+++ b/src/mesa/drivers/dri/i965/gen7_sf_state.c
@@ -113,7 +113,7 @@ upload_sf_state(struct brw_context *brw)
dw1 = GEN6_SF_STATISTICS_ENABLE;
- if (brw->sf.viewport_transform_enable)
+ if (brw->primitive != _3DPRIM_RECTLIST)
dw1 |= GEN6_SF_VIEWPORT_TRANSFORM_ENABLE;
/* _NEW_BUFFERS */