aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_image.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-02-20 10:28:27 -0800
committerJason Ekstrand <[email protected]>2017-02-21 12:26:35 -0800
commitf9d7d27d6dc46696c0c8479a3180c57774991129 (patch)
tree8a81d3959bb3c7770c56740e94348978c93833df /src/intel/vulkan/anv_image.c
parent075ed20614e91110322aadff44dbd4c1ca2422e8 (diff)
anv: Rename clflush_range and state_clflush
It's a bit shorter and easier to work with. Also, we're about to add a helper called clflush which does the clflush but without any memory fencing. Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_image.c')
-rw-r--r--src/intel/vulkan/anv_image.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c
index cf4304a0cc3..c0142c80c4d 100644
--- a/src/intel/vulkan/anv_image.c
+++ b/src/intel/vulkan/anv_image.c
@@ -575,7 +575,7 @@ anv_CreateImageView(VkDevice _device,
.mocs = device->default_mocs);
if (!device->info.has_llc)
- anv_state_clflush(iview->sampler_surface_state);
+ anv_state_flush(iview->sampler_surface_state);
} else {
iview->sampler_surface_state.alloc_size = 0;
}
@@ -627,8 +627,8 @@ anv_CreateImageView(VkDevice _device,
&surface->isl, &iview->isl);
if (!device->info.has_llc) {
- anv_state_clflush(iview->storage_surface_state);
- anv_state_clflush(iview->writeonly_storage_surface_state);
+ anv_state_flush(iview->storage_surface_state);
+ anv_state_flush(iview->writeonly_storage_surface_state);
}
} else {
iview->storage_surface_state.alloc_size = 0;