summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-10-29 00:50:34 -0700
committerKenneth Graunke <kenneth@whitecape.org>2015-11-04 10:18:56 -0800
commit2d2bbdd87bb9a3d5f33b8184fbadfd7462ed5528 (patch)
tree3c95f56c123f8d148838a706b5e3823235e67fc7
parentb672ca12894fc91f441191637ed801730269e2a9 (diff)
deqp hack: force gl_PointSize to be read from 3DSTATE_SF
probably wrong, but makes tests pass. revisit.
-rw-r--r--src/mesa/drivers/dri/i965/gen8_sf_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen8_sf_state.c b/src/mesa/drivers/dri/i965/gen8_sf_state.c
index 8b6f31f3be..6ce8481b59 100644
--- a/src/mesa/drivers/dri/i965/gen8_sf_state.c
+++ b/src/mesa/drivers/dri/i965/gen8_sf_state.c
@@ -174,7 +174,7 @@ upload_sf(struct brw_context *brw)
dw3 |= U_FIXED(CLAMP(point_size, 0.125f, 255.875f), 3);
/* _NEW_PROGRAM | _NEW_POINT */
- if (!(ctx->VertexProgram.PointSizeEnabled || ctx->Point._Attenuated))
+ if (!(ctx->VertexProgram.PointSizeEnabled || ctx->Point._Attenuated) || brw->tess_eval_program)
dw3 |= GEN6_SF_USE_STATE_POINT_WIDTH;
/* _NEW_POINT | _NEW_MULTISAMPLE */