mesa/src/intel/vulkan
Caio Marcelo de Oliveira Filho 9bf044d254 anv: Use a dynamic array for storing executables in pipeline
Avoids waste for pipelines that don't use all the shaders, and is
flexible enough to cover cases where there are multiple variants per
shader (e.g. SIMD8/16/32 for fragment shader).

Even though we could pre-calculate the exact size of the array, this
is not a critical path so it is worth preventing the bug that will
likely happen when new variants are added but not accounted for.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4040>
2020-03-12 13:18:54 -07:00
..
tests anv/block_pool: Ensure allocations have contiguous maps 2020-01-29 09:43:42 -06:00
anv_allocator.c anv: multiply the scratch space by 4 on gen9-10 like iris and i965 2020-03-03 00:36:10 +00:00
anv_android.c anv/android: make format_supported_with_usage static 2020-01-28 14:46:38 +02:00
anv_android.h anv: Drop unneeded struct keywords 2020-01-03 11:32:34 -06:00
anv_android_stubs.c anv: Drop unneeded struct keywords 2020-01-03 11:32:34 -06:00
anv_batch_chain.c anv: Re-use one old BT block in reset_batch_bo_chain 2020-01-29 09:43:42 -06:00
anv_blorp.c anv: Do end-of-pipe sync around MCS/CCS ops instead of CS stall 2020-03-02 22:28:11 +00:00
anv_cmd_buffer.c anv: fix missing gen12 handling 2019-12-10 16:06:54 +00:00
anv_descriptor_set.c anv: Align UBO sizes to 32B 2020-03-07 04:51:28 +00:00
anv_device.c anv: Parse VkPhysicalDeviceFeatures2 in CreateDevice 2020-03-07 04:51:28 +00:00
anv_dump.c tree-wide: replace MAYBE_UNUSED with ASSERTED 2019-07-31 09:41:05 +01:00
anv_entrypoints_gen.py anv: Move the physical device dispatch table to anv_instance 2020-01-20 22:08:52 +00:00
anv_extensions.py anv: Advertise VK_KHR_shader_non_semantic_info 2020-02-18 09:57:15 -06:00
anv_extensions_gen.py anv: manually add KHR_display to the list of platforms 2019-07-07 15:34:09 +03:00
anv_formats.c anv: Reject modifiers on depth/stencil formats 2020-02-13 15:40:18 +00:00
anv_gem.c intel/common: provide common ioctl routine 2019-08-01 16:38:40 -07:00
anv_gem_stubs.c anv: gem-stubs: return a valid fd got anv_gem_userptr() 2019-09-25 22:02:51 +03:00
anv_genX.h anv: Plumb deref block size through to 3DSTATE_SF 2020-01-30 18:46:28 -06:00
anv_icd.py anv: fix typo 2019-06-29 22:41:06 +01:00
anv_image.c anv: Flatten the logic add_aux_surface_if_supported (v3) 2020-03-06 23:40:41 +00:00
anv_intel.c anv: Take an anv_device in vk_errorf 2020-01-20 22:08:52 +00:00
anv_nir.h anv: Bounds-check pushed UBOs when robustBufferAccess = true 2020-03-07 04:51:29 +00:00
anv_nir_add_base_work_group_id.c anv: Rework push constant handling 2019-11-18 18:35:14 +00:00
anv_nir_apply_pipeline_layout.c nir: Drop nir_tex_instr::texture_array_size 2020-02-26 18:29:49 +00:00
anv_nir_compute_push_layout.c anv: Bounds-check pushed UBOs when robustBufferAccess = true 2020-03-07 04:51:29 +00:00
anv_nir_lower_multiview.c nir/builder: Add a build_deref_array_imm helper 2019-03-07 21:20:30 +00:00
anv_nir_lower_ycbcr_textures.c nir: Drop nir_tex_instr::texture_array_size 2020-02-26 18:29:49 +00:00
anv_pass.c anv: Enable Vulkan 1.2 support 2020-01-15 08:34:57 -06:00
anv_perf.c anv: Add an anv_physical_device field to anv_device 2020-01-20 22:08:52 +00:00
anv_pipeline.c anv: Use a dynamic array for storing executables in pipeline 2020-03-12 13:18:54 -07:00
anv_pipeline_cache.c anv: stop storing prog param data into shader blobs 2020-03-07 05:51:45 +00:00
anv_private.h anv: Use a dynamic array for storing executables in pipeline 2020-03-12 13:18:54 -07:00
anv_queue.c anv: No-op submit and wait calls when no_hw is set 2020-02-06 10:48:33 +00:00
anv_util.c anv: Take a device in anv_perf_warn 2020-01-20 22:08:52 +00:00
anv_wsi.c anv: Add an anv_physical_device field to anv_device 2020-01-20 22:08:52 +00:00
anv_wsi_display.c anv: Stop allocating WSI event fences off the instance 2020-01-20 22:08:52 +00:00
anv_wsi_wayland.c anv: drop unused includes 2018-10-24 18:15:05 +01:00
anv_wsi_x11.c vulkan: drop always-true param 2018-10-26 18:33:11 +01:00
gen7_cmd_buffer.c anv: Implement VK_EXT_line_rasterization 2019-08-06 02:05:28 +00:00
gen8_cmd_buffer.c anv: set depth stall enabled when depth flush enabled on gen12 2020-01-16 14:05:54 +02:00
genX_blorp_exec.c intel/blorp: Always emit URB config on Gen7+ 2020-01-30 18:46:20 -06:00
genX_cmd_buffer.c anv: Bounds-check pushed UBOs when robustBufferAccess = true 2020-03-07 04:51:29 +00:00
genX_gpu_memcpy.c anv: Plumb deref block size through to 3DSTATE_SF 2020-01-30 18:46:28 -06:00
genX_pipeline.c anv: Use a dynamic array for storing executables in pipeline 2020-03-12 13:18:54 -07:00
genX_query.c anv: implement gen9 post sync pipe control workaround 2020-02-05 00:25:48 +00:00
genX_state.c anv: Make AUX table invalidate a PIPE_* bit 2020-01-25 02:18:33 +00:00
meson.build anv: Rework push constant handling 2019-11-18 18:35:14 +00:00
TODO anv: Implement pipeline statistics queries 2017-03-17 12:12:50 -07:00
vk_format_info.h anv: Add HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED in vk_format 2019-06-24 08:28:18 +03:00