summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_device.c
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2018-09-25 16:04:33 -0700
committerJordan Justen <[email protected]>2018-09-26 10:21:23 -0700
commit2a97390552da7bcd5173f73cdfb6476b888fb4d0 (patch)
tree7db98291d966f6cb681fec480b42c663dd19f544 /src/intel/vulkan/anv_device.c
parente9bd071f49f8a364bf91a60dd8c842d5c9e83ace (diff)
anv: s/batch/value_bo/ on anv_device_init_hiz_clear_batch
Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Nanley Chery <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r--src/intel/vulkan/anv_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 2286df6331a..f2755ab68e3 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -1566,7 +1566,7 @@ vk_priority_to_gen(int priority)
}
static void
-anv_device_init_hiz_clear_batch(struct anv_device *device)
+anv_device_init_hiz_clear_value_bo(struct anv_device *device)
{
anv_bo_init_new(&device->hiz_clear_bo, device, 4096);
uint32_t *map = anv_gem_mmap(device, device->hiz_clear_bo.gem_handle,
@@ -1802,7 +1802,7 @@ VkResult anv_CreateDevice(
anv_device_init_trivial_batch(device);
if (device->info.gen >= 10)
- anv_device_init_hiz_clear_batch(device);
+ anv_device_init_hiz_clear_value_bo(device);
anv_scratch_pool_init(device, &device->scratch_pool);