[Mesa-dev] [PATCH 1/2] anv: s/batch/value_bo/ on anv_device_init_hiz_clear_batch

Jason Ekstrand jason at jlekstrand.net
Wed Sep 26 06:26:42 UTC 2018


Rb

On September 26, 2018 01:27:05 Jordan Justen <jordan.l.justen at intel.com> wrote:

> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
> Cc: Jason Ekstrand <jason at jlekstrand.net>
> ---
> src/intel/vulkan/anv_device.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
> index 4219a073d2d..265fc4a3347 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);
>
> --
> 2.18.0





More information about the mesa-dev mailing list