i965: Annotate the use of _NEW_PROGRAM in Gen6+ SF state atoms.

The dirty bit was already correctly in place, but there was no comment.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Kenneth Graunke
2012-01-09 11:03:46 -08:00
parent 62ca17101c
commit ef034f1094
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ upload_sf_state(struct brw_context *brw)
dw3 |= GEN6_SF_LINE_END_CAP_WIDTH_1_0;
}
/* _NEW_POINT */
/* _NEW_PROGRAM | _NEW_POINT */
if (!(ctx->VertexProgram.PointSizeEnabled ||
ctx->Point._Attenuated))
dw4 |= GEN6_SF_USE_STATE_POINT_WIDTH;
+1 -1
View File
@@ -247,7 +247,7 @@ upload_sf_state(struct brw_context *brw)
dw3 = 0;
/* _NEW_POINT */
/* _NEW_PROGRAM | _NEW_POINT */
if (!(ctx->VertexProgram.PointSizeEnabled || ctx->Point._Attenuated))
dw3 |= GEN6_SF_USE_STATE_POINT_WIDTH;