diff options
Diffstat (limited to 'src/intel/vulkan/anv_blorp.c')
-rw-r--r-- | src/intel/vulkan/anv_blorp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_blorp.c b/src/intel/vulkan/anv_blorp.c index cc182806524..3b636620389 100644 --- a/src/intel/vulkan/anv_blorp.c +++ b/src/intel/vulkan/anv_blorp.c @@ -96,7 +96,7 @@ anv_device_init_blorp(struct anv_device *device) device->blorp.compiler = device->physical->compiler; device->blorp.lookup_shader = lookup_blorp_shader; device->blorp.upload_shader = upload_blorp_shader; - switch (device->info.genx10) { + switch (device->info.verx10) { case 70: device->blorp.exec = gen7_blorp_exec; break; @@ -257,7 +257,7 @@ get_blorp_surf_for_anv_image(const struct anv_device *device, anv_image_get_clear_color_addr(device, image, aspect); blorp_surf->clear_color_addr = anv_to_blorp_address(clear_color_addr); } else if (aspect & VK_IMAGE_ASPECT_DEPTH_BIT) { - if (device->info.gen >= 10) { + if (device->info.ver >= 10) { /* Vulkan always clears to 1.0. On gen < 10, we set that directly * in the state packet. For gen >= 10, must provide the clear * value in a buffer. We have a single global buffer that stores |