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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user