mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 11:20:11 +01:00
anv: s/batch/value_bo/ on anv_device_init_hiz_clear_batch
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
This commit is contained in:
parent
e9bd071f49
commit
2a97390552
1 changed files with 2 additions and 2 deletions
|
|
@ -1566,7 +1566,7 @@ vk_priority_to_gen(int priority)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
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);
|
anv_bo_init_new(&device->hiz_clear_bo, device, 4096);
|
||||||
uint32_t *map = anv_gem_mmap(device, device->hiz_clear_bo.gem_handle,
|
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);
|
anv_device_init_trivial_batch(device);
|
||||||
|
|
||||||
if (device->info.gen >= 10)
|
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);
|
anv_scratch_pool_init(device, &device->scratch_pool);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue