anv/state: Add missing clflushes for storage image surface state.
This commit is contained in:
committed by
Jason Ekstrand
parent
d533c3796d
commit
448285ebf2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user