mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
anv/state: Add missing clflushes for storage image surface state.
This commit is contained in:
parent
d533c3796d
commit
448285ebf2
2 changed files with 4 additions and 0 deletions
|
|
@ -302,6 +302,8 @@ genX(image_view_init)(struct anv_image_view *iview,
|
|||
|
||||
GENX(RENDER_SURFACE_STATE_pack)(NULL, iview->storage_surface_state.map,
|
||||
&surface_state);
|
||||
if (!device->info.has_llc)
|
||||
anv_state_clflush(iview->storage_surface_state);
|
||||
} else {
|
||||
iview->storage_surface_state.alloc_size = 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -372,6 +372,8 @@ genX(image_view_init)(struct anv_image_view *iview,
|
|||
|
||||
GENX(RENDER_SURFACE_STATE_pack)(NULL, iview->storage_surface_state.map,
|
||||
&surface_state);
|
||||
if (!device->info.has_llc)
|
||||
anv_state_clflush(iview->storage_surface_state);
|
||||
} else {
|
||||
iview->storage_surface_state.alloc_size = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue