mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 10:40:11 +01:00
i965: Drop BRW_NEW_VERTEX_PROGRAM and _NEW_TRANSFORM from Gen4 VS state.
These stopped being necessary in commit ab973403e4.
v2: Update commit message with a better explanation (thanks to Eric
Anholt for doing the git archaeology).
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
a2dd8ea59a
commit
ca19e89d6e
1 changed files with 2 additions and 3 deletions
|
|
@ -96,7 +96,7 @@ brw_upload_vs_unit(struct brw_context *brw)
|
|||
brw->vs.prog_data->base.base.dispatch_grf_start_reg;
|
||||
vs->thread3.urb_entry_read_offset = 0;
|
||||
|
||||
/* BRW_NEW_CURBE_OFFSETS, _NEW_TRANSFORM, BRW_NEW_VERTEX_PROGRAM */
|
||||
/* BRW_NEW_CURBE_OFFSETS */
|
||||
vs->thread3.const_urb_entry_read_offset = brw->curbe.vs_start * 2;
|
||||
|
||||
/* BRW_NEW_URB_FENCE */
|
||||
|
|
@ -183,13 +183,12 @@ brw_upload_vs_unit(struct brw_context *brw)
|
|||
|
||||
const struct brw_tracked_state brw_vs_unit = {
|
||||
.dirty = {
|
||||
.mesa = _NEW_TRANSFORM,
|
||||
.mesa = 0,
|
||||
.brw = BRW_NEW_BATCH |
|
||||
BRW_NEW_CURBE_OFFSETS |
|
||||
BRW_NEW_PROGRAM_CACHE |
|
||||
BRW_NEW_SAMPLER_STATE_TABLE |
|
||||
BRW_NEW_URB_FENCE |
|
||||
BRW_NEW_VERTEX_PROGRAM |
|
||||
BRW_NEW_VS_PROG_DATA,
|
||||
},
|
||||
.emit = brw_upload_vs_unit,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue