mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
i965 gen6: Resend binding table pointer after updating SOL bindings.
After creating new binding table entries for transform feedback, we need to set the dirty flag BRW_NEW_SURFACES, so that a new binding table pointer will be sent to the hardware. Otherwise the new binding table entries will not take effect. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
9cfa8a74ce
commit
e25c4d0926
1 changed files with 2 additions and 0 deletions
|
|
@ -61,6 +61,8 @@ gen6_update_sol_surfaces(struct brw_context *brw)
|
|||
brw->bind.surf_offset[surf_index] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
brw->state.dirty.brw |= BRW_NEW_SURFACES;
|
||||
}
|
||||
|
||||
const struct brw_tracked_state gen6_sol_surface = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue