mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
i965: Only emit VF cache invalidations when the high bits changes
Commit92f01fc5f9("i965: Emit VF cache invalidates for 48-bit addressing bugs with softpin.") tried to only emit the VF invalidate if the high bits changed, but it accidentally always set need_invalidate to true; causing it to emit unconditionally emit the pipe control before every primitive. Fixes:92f01fc5f9("i965: Emit VF cache invalidates for 48-bit addressing bugs with softpin.") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106708 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
e4fe2fd3bb
commit
3ac5fbadfd
1 changed files with 1 additions and 1 deletions
|
|
@ -504,7 +504,7 @@ static void
|
|||
vf_invalidate_for_vb_48bit_transitions(struct brw_context *brw)
|
||||
{
|
||||
#if GEN_GEN >= 8
|
||||
bool need_invalidate = true;
|
||||
bool need_invalidate = false;
|
||||
unsigned i;
|
||||
|
||||
for (i = 0; i < brw->vb.nr_buffers; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue