mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 00:10:10 +01:00
i965: Move BRW_NEW_FRAGMENT_PROGRAM from 3DSTATE_PS to PS_EXTRA.
3DSTATE_PS doesn't need this. 3DSTATE_PS_EXTRA however does, for brw_color_buffer_write_enabled(). Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
28e1538be7
commit
0047d600af
1 changed files with 1 additions and 1 deletions
|
|
@ -123,6 +123,7 @@ const struct brw_tracked_state gen8_ps_extra = {
|
||||||
.mesa = _NEW_BUFFERS | _NEW_COLOR,
|
.mesa = _NEW_BUFFERS | _NEW_COLOR,
|
||||||
.brw = BRW_NEW_BLORP |
|
.brw = BRW_NEW_BLORP |
|
||||||
BRW_NEW_CONTEXT |
|
BRW_NEW_CONTEXT |
|
||||||
|
BRW_NEW_FRAGMENT_PROGRAM |
|
||||||
BRW_NEW_FS_PROG_DATA,
|
BRW_NEW_FS_PROG_DATA,
|
||||||
},
|
},
|
||||||
.emit = upload_ps_extra,
|
.emit = upload_ps_extra,
|
||||||
|
|
@ -282,7 +283,6 @@ const struct brw_tracked_state gen8_ps_state = {
|
||||||
.mesa = _NEW_MULTISAMPLE,
|
.mesa = _NEW_MULTISAMPLE,
|
||||||
.brw = BRW_NEW_BATCH |
|
.brw = BRW_NEW_BATCH |
|
||||||
BRW_NEW_BLORP |
|
BRW_NEW_BLORP |
|
||||||
BRW_NEW_FRAGMENT_PROGRAM |
|
|
||||||
BRW_NEW_FS_PROG_DATA,
|
BRW_NEW_FS_PROG_DATA,
|
||||||
},
|
},
|
||||||
.emit = upload_ps_state,
|
.emit = upload_ps_state,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue