mesa/src/gallium/drivers
Erik Faye-Lund 4b8f2b99e8 zink: avoid generating nonsensical code
With this code, we end up generating code such as:

if (!strcmp(extensions[i].extensionName, "VK_KHR_maintenance1")) {
   if (VK_MAKE_VERSION(1,2,0) >= screen->vk_version) {
      info->have_KHR_maintenance1 = true;
   } else {
      info->have_KHR_maintenance1 = true;
   }
}

That's clearly nonsense, as it does the same thing in the true and false
case. So let's instead try to walk the Vulkan versions up to the one
we're using in a separate pass, and add all extensions that were made core
in that version.

CID: 1473289

Reviewed-by: Hoe Hao Cheng <haochengho12907@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12593>
2021-08-27 18:55:19 +00:00
..
asahi gallium: add take_ownership into set_sampler_views to skip reference counting 2021-08-20 15:04:20 +00:00
crocus intel/isl: Add msaa_layout param to isl_tiling_get_info 2021-08-25 22:39:30 +00:00
d3d12 gallium: change pipe_draw_info::mode to uint8_t on MSVC to make it 1 byte large 2021-08-24 10:43:44 -04:00
etnaviv etnaviv: remove primconvert 2021-08-26 10:44:04 +00:00
freedreno freedreno/a6xx: Fix a6xx gen4 compute shaders 2021-08-25 15:24:19 +00:00
i915 gallium: remove vertices_per_patch, add pipe_context::set_patch_vertices 2021-08-21 00:08:11 +00:00
iris iris/ci: Correctly set freq governors to max 2021-08-27 17:34:01 +02:00
lima gallium: add take_ownership into set_sampler_views to skip reference counting 2021-08-20 15:04:20 +00:00
llvmpipe llvmpipe: rip out cylindrical wrap support 2021-08-25 19:37:16 +00:00
nouveau gallium: remove vertices_per_patch, add pipe_context::set_patch_vertices 2021-08-21 00:08:11 +00:00
panfrost panfrost: Prepare indirect draw helpers to per-gen XML 2021-08-26 10:35:17 +02:00
r300 gallium: remove vertices_per_patch, add pipe_context::set_patch_vertices 2021-08-21 00:08:11 +00:00
r600 gallium/tgsi: rip out cylindrical wrap support 2021-08-25 19:37:16 +00:00
radeon radeon/vcn: set min value for num_temporal_layers 2021-08-19 14:25:09 +00:00
radeonsi radeonsi: Change GS vertex offset arguments to use gs_vtx_offset array. 2021-08-26 05:20:15 +00:00
softpipe softpipe: rip out cylindrical wrap support 2021-08-25 19:37:16 +00:00
svga gallium: remove vertices_per_patch, add pipe_context::set_patch_vertices 2021-08-21 00:08:11 +00:00
swr gallium: remove vertices_per_patch, add pipe_context::set_patch_vertices 2021-08-21 00:08:11 +00:00
tegra gallium: add take_ownership into set_sampler_views to skip reference counting 2021-08-20 15:04:20 +00:00
v3d gallium: add take_ownership into set_sampler_views to skip reference counting 2021-08-20 15:04:20 +00:00
vc4 gallium: add take_ownership into set_sampler_views to skip reference counting 2021-08-20 15:04:20 +00:00
virgl llvmpipe: improve polygon-offset precision 2021-08-24 07:36:31 +00:00
zink zink: avoid generating nonsensical code 2021-08-27 18:55:19 +00:00