mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
iris: SO_DECL_LIST fix
This commit is contained in:
parent
927c4a21bd
commit
a3e813c5af
1 changed files with 8 additions and 0 deletions
|
|
@ -2472,6 +2472,14 @@ iris_set_stream_output_targets(struct pipe_context *ctx,
|
|||
if (ice->state.streamout_active != active) {
|
||||
ice->state.streamout_active = active;
|
||||
ice->state.dirty |= IRIS_DIRTY_STREAMOUT;
|
||||
|
||||
/* We only emit 3DSTATE_SO_DECL_LIST when streamout is active, because
|
||||
* it's a non-pipelined command. If we're switching streamout on, we
|
||||
* may have missed emitting it earlier, so do so now. (We're already
|
||||
* taking a stall to update 3DSTATE_SO_BUFFERS anyway...)
|
||||
*/
|
||||
if (active)
|
||||
ice->state.dirty |= IRIS_DIRTY_SO_DECL_LIST;
|
||||
}
|
||||
|
||||
for (int i = 0; i < 4; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue