mesa/src/intel/vulkan
Caio Marcelo de Oliveira Filho 57d664245e intel/compiler: Use a struct for brw_compile_vs parameters
Makes calling code more explicit about what is being set, and allows
take advantage of zero initialization for the ones the callsite don't
care.

Besides moving to the struct, two extra "ergonomic" changes were done:

- Add a new shader_time boolean, so shader_time_index is ignored when
  unused -- this allow taking advantage of the zero initialization of
  unset fields.

- Since we have a struct, provide space for the error_str pointer.
  Both iris and i965 were using it, and the extra rstrdup in case of
  failure shouldn't be a burden for the others.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9779>
2021-03-24 23:18:46 +00:00
..
tests anv: implement INTEL_DEBUG=submit 2021-03-04 19:46:24 +02:00
anv_allocator.c intel: Rename "GEN_" prefix used in common code to "INTEL_" 2021-03-10 22:23:51 +00:00
anv_android.c anv: fix compilation due to missing vk_format_from_android 2021-03-12 10:35:01 +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: use the device size of CS prefetch to pad secondary buffer calls 2021-03-18 20:08:45 +00:00
anv_blorp.c anv/image: Make memory layout more explicit 2021-03-09 18:42:20 +00:00
anv_cmd_buffer.c anv: Move vk_format helpers to common code 2021-03-10 18:17:31 +00:00
anv_descriptor_set.c anv: Do UBO loads with global addresses for bindless 2021-03-17 17:49:59 +00:00
anv_device.c vulkan/util: call glsl_type_singleton_init_or_ref from vk_instance_init 2021-03-17 08:15:36 +01:00
anv_formats.c anv: Move vk_format helpers to common code 2021-03-10 18:17:31 +00:00
anv_gem.c anv: Use fallback paths if DRM_I915_QUERY_ENGINE_INFO fails 2021-03-18 00:54:29 +00:00
anv_gem_stubs.c anv: Support multiple engines with DRM_IOCTL_I915_GEM_CONTEXT_CREATE_EXT 2021-01-28 18:26:33 +00:00
anv_genX.h anv: move L3 config emission to genX_state.c 2021-03-12 20:49:01 +00:00
anv_image.c anv: Move vk_format helpers to common code 2021-03-10 18:17:31 +00:00
anv_intel.c anv/image: Make memory layout more explicit 2021-03-09 18:42:20 +00:00
anv_measure.c anv: Use ASSERTED for results that are only used in asserts. 2021-03-17 03:47:23 +00:00
anv_measure.h intel: support secondary command buffers in INTEL_MEASURE 2021-02-01 17:24:57 -08:00
anv_nir.h anv: Do UBO loads with global addresses for bindless 2021-03-17 17:49:59 +00:00
anv_nir_add_base_work_group_id.c nir: Make nir_ssa_def_rewrite_uses_after take an SSA value 2021-03-08 16:59:55 +00:00
anv_nir_apply_pipeline_layout.c anv/apply_pipeline_layout: Add support for A64 descriptor access 2021-03-17 17:49:59 +00:00
anv_nir_compute_push_layout.c intel: Use devinfo genx10 field 2021-03-01 22:00:08 -08:00
anv_nir_lower_multiview.c anv: Lower ViewIndex to zero when multiview is disabled 2021-03-15 09:51:14 -08:00
anv_nir_lower_ubo_loads.c anv: Add a pass for lowering A64 UBO access 2021-03-17 17:49:59 +00:00
anv_nir_lower_ycbcr_textures.c nir: Make nir_ssa_def_rewrite_uses take an SSA value 2021-03-08 16:59:55 +00:00
anv_pass.c vulkan/alloc: Add VK_MULTIALLOC_DECL macros 2021-03-10 20:59:55 -06:00
anv_perf.c intel: Fix broken alignment due to gen_ prefix renaming 2021-03-10 22:23:51 +00:00
anv_pipeline.c intel/compiler: Use a struct for brw_compile_vs parameters 2021-03-24 23:18:46 +00:00
anv_pipeline_cache.c vulkan/alloc: Add VK_MULTIALLOC_DECL macros 2021-03-10 20:59:55 -06:00
anv_private.h anv: Use unreachable() in anv_genX. 2021-03-17 03:47:23 +00:00
anv_queue.c anv: Use ASSERTED for results that are only used in asserts. 2021-03-17 03:47:23 +00:00
anv_util.c vulkan: Make the debug_report implementation internal 2021-02-01 18:54:25 +00:00
anv_wsi.c vulkan/alloc: Add VK_MULTIALLOC_DECL macros 2021-03-10 20:59:55 -06:00
anv_wsi_display.c anv: Move vk_format helpers to common code 2021-03-10 18:17:31 +00:00
anv_wsi_wayland.c anv: Use the common dispatch framework 2021-02-01 18:54:24 +00:00
anv_wsi_x11.c anv: Use the common dispatch framework 2021-02-01 18:54:24 +00:00
gen7_cmd_buffer.c intel: Simplify version checks involving haswell 2021-03-16 16:40:12 +00:00
gen8_cmd_buffer.c intel: Fix broken alignment due to gen_ prefix renaming 2021-03-10 22:23:51 +00:00
genX_blorp_exec.c intel: Rename "gen_" prefix used in common code to "intel_" 2021-03-10 22:23:51 +00:00
genX_cmd_buffer.c anv: use common entrypoints for VK_KHR_create_renderpass2 2021-03-24 11:21:53 +00:00
genX_gpu_memcpy.c intel: Rename "gen_" prefix used in common code to "intel_" 2021-03-10 22:23:51 +00:00
genX_pipeline.c intel: Simplify version checks involving haswell 2021-03-16 16:40:12 +00:00
genX_query.c intel/mi_builder: use device info to use the right CS prefetch size 2021-03-18 20:08:45 +00:00
genX_state.c genxml/gen12: 3D_MODE bits 31:16 are no longer must-be-one 2021-03-19 09:07:37 +00:00
meson.build anv: Add a pass for lowering A64 UBO access 2021-03-17 17:49:59 +00:00
TODO anv: Implement pipeline statistics queries 2017-03-17 12:12:50 -07:00