mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 22:10:10 +01:00
i965: Add missing /* BRW_NEW_FRAGMENT_PROGRAM */ comments.
I had to dig a bit to figure out why this was necessary. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
This commit is contained in:
parent
3d31ed0d93
commit
e25a453b7f
3 changed files with 7 additions and 6 deletions
|
|
@ -155,6 +155,7 @@ calculate_attr_overrides(const struct brw_context *brw,
|
||||||
memset(attr_overrides, 0, 16*sizeof(*attr_overrides));
|
memset(attr_overrides, 0, 16*sizeof(*attr_overrides));
|
||||||
|
|
||||||
for (int attr = 0; attr < VARYING_SLOT_MAX; attr++) {
|
for (int attr = 0; attr < VARYING_SLOT_MAX; attr++) {
|
||||||
|
/* BRW_NEW_FRAGMENT_PROGRAM */
|
||||||
enum glsl_interp_qualifier interp_qualifier =
|
enum glsl_interp_qualifier interp_qualifier =
|
||||||
brw->fragment_program->InterpQualifier[attr];
|
brw->fragment_program->InterpQualifier[attr];
|
||||||
bool is_gl_Color = attr == VARYING_SLOT_COL0 || attr == VARYING_SLOT_COL1;
|
bool is_gl_Color = attr == VARYING_SLOT_COL0 || attr == VARYING_SLOT_COL1;
|
||||||
|
|
@ -369,8 +370,8 @@ upload_sf_state(struct brw_context *brw)
|
||||||
(1 << GEN6_SF_TRIFAN_PROVOKE_SHIFT);
|
(1 << GEN6_SF_TRIFAN_PROVOKE_SHIFT);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* BRW_NEW_VUE_MAP_GEOM_OUT | _NEW_POINT | _NEW_LIGHT | _NEW_PROGRAM |
|
/* BRW_NEW_VUE_MAP_GEOM_OUT | BRW_NEW_FRAGMENT_PROGRAM |
|
||||||
* CACHE_NEW_WM_PROG
|
* _NEW_POINT | _NEW_LIGHT | _NEW_PROGRAM | CACHE_NEW_WM_PROG
|
||||||
*/
|
*/
|
||||||
uint32_t urb_entry_read_length;
|
uint32_t urb_entry_read_length;
|
||||||
calculate_attr_overrides(brw, attr_overrides, &point_sprite_enables,
|
calculate_attr_overrides(brw, attr_overrides, &point_sprite_enables,
|
||||||
|
|
|
||||||
|
|
@ -60,8 +60,8 @@ upload_sbe_state(struct brw_context *brw)
|
||||||
}
|
}
|
||||||
dw1 |= point_sprite_origin;
|
dw1 |= point_sprite_origin;
|
||||||
|
|
||||||
/* BRW_NEW_VUE_MAP_GEOM_OUT | _NEW_POINT | _NEW_LIGHT | _NEW_PROGRAM |
|
/* BRW_NEW_VUE_MAP_GEOM_OUT | BRW_NEW_FRAGMENT_PROGRAM
|
||||||
* CACHE_NEW_WM_PROG
|
* _NEW_POINT | _NEW_LIGHT | _NEW_PROGRAM | CACHE_NEW_WM_PROG
|
||||||
*/
|
*/
|
||||||
uint32_t urb_entry_read_length;
|
uint32_t urb_entry_read_length;
|
||||||
calculate_attr_overrides(brw, attr_overrides, &point_sprite_enables,
|
calculate_attr_overrides(brw, attr_overrides, &point_sprite_enables,
|
||||||
|
|
|
||||||
|
|
@ -57,8 +57,8 @@ upload_sbe(struct brw_context *brw)
|
||||||
else
|
else
|
||||||
dw1 |= GEN6_SF_POINT_SPRITE_UPPERLEFT;
|
dw1 |= GEN6_SF_POINT_SPRITE_UPPERLEFT;
|
||||||
|
|
||||||
/* BRW_NEW_VUE_MAP_GEOM_OUT | _NEW_POINT | _NEW_LIGHT | _NEW_PROGRAM |
|
/* BRW_NEW_VUE_MAP_GEOM_OUT | BRW_NEW_FRAGMENT_PROGRAM |
|
||||||
* CACHE_NEW_WM_PROG
|
* _NEW_POINT | _NEW_LIGHT | _NEW_PROGRAM | CACHE_NEW_WM_PROG
|
||||||
*/
|
*/
|
||||||
calculate_attr_overrides(brw, attr_overrides,
|
calculate_attr_overrides(brw, attr_overrides,
|
||||||
&point_sprite_enables,
|
&point_sprite_enables,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue