mesa/src/intel/vulkan
Tapani Pälli 5998a6543a anv: fix calculation of buffer size in case dynamic size is used
VK spec got clarification about the pSizes parameter.

Fixes set of new tests:
   dEQP-VK.pipeline.extended_dynamic_state*with_offset*

v2: move offset subtract to be part of size calculation (Jason)

CC: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3871
Fixes: b9a05447a1 ("anv: dynamic vertex input binding stride and size support")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7439>
2020-12-10 08:26:34 +02:00
..
tests anv/tests: Silence unused parameter warnings in main 2020-05-14 16:47:08 +00:00
anv_allocator.c anv/allocator: Compare to start_offset in state_pool_free_no_vg 2020-06-09 22:52:26 +00:00
anv_android.c anv/image: Teach anv_get_image_format_features() about modifiers (v3) 2020-11-17 10:36:44 -08: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: drop likely/unlikely around INTEL_DEBUG 2020-10-06 18:43:07 +00:00
anv_blorp.c intel/anv: Build gen 12.5 2020-12-01 19:06:22 +00:00
anv_cmd_buffer.c intel/anv: Build gen 12.5 2020-12-01 19:06:22 +00:00
anv_descriptor_set.c anv: fix descriptor pool leak in VMA object 2020-11-26 16:01:20 +00:00
anv_device.c intel/anv: Build gen 12.5 2020-12-01 19:06:22 +00:00
anv_dump.c tree-wide: replace MAYBE_UNUSED with ASSERTED 2019-07-31 09:41:05 +01:00
anv_entrypoints_gen.py intel/anv: Build gen 12.5 2020-12-01 19:06:22 +00:00
anv_extensions.py anv: report latest extension spec versions 2020-10-25 19:12:35 +02:00
anv_extensions_gen.py anv: use the common code for generating extensions and dispatch tables 2020-05-13 08:45:28 +02:00
anv_formats.c anv/image: Move some DRM code in anv_get_image_format_properties() 2020-11-17 10:36:45 -08:00
anv_gem.c anv: always annotate memory returned from anv_gem_mmap 2020-11-02 19:52:11 +00:00
anv_gem_stubs.c anv: add new gem/drm helpers 2020-09-01 16:40:11 +00:00
anv_genX.h anv: fix up dynamic clip emission 2020-08-11 10:07:08 +03:00
anv_icd.py anv: fix typo 2019-06-29 22:41:06 +01:00
anv_image.c Revert "anv/image: Define anv_image_get_aux_addr (v3)" 2020-11-17 23:27:42 -06:00
anv_intel.c vulkan,anv: Add a common base object type for VkDevice 2020-05-04 14:06:27 +00:00
anv_nir.h anv/gen12: Lower VK_KHR_multiview using Primitive Replication 2020-04-07 17:16:09 +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: Add and use some deref mode helpers 2020-11-03 22:18:28 +00:00
anv_nir_compute_push_layout.c anv: fix robust buffer access 2020-08-31 19:24:42 +00:00
anv_nir_lower_multiview.c anv: Use nir_lower_multiview pass 2020-09-29 10:31:59 +00:00
anv_nir_lower_ycbcr_textures.c anv: use common nir_convert_ycbcr 2020-04-20 22:01:43 +00:00
anv_pass.c anv: Plumb the device into *bits_for_access_flags 2020-10-08 01:17:11 -05:00
anv_perf.c anv: drop likely/unlikely around INTEL_DEBUG 2020-10-06 18:43:07 +00:00
anv_pipeline.c intel/compiler, anv: Delete cs_prog_data->slm_size 2020-10-14 23:13:41 +00:00
anv_pipeline_cache.c anv: remove VkPipelineCacheCreateInfo::flags assert 2020-10-06 10:29:33 -04:00
anv_private.h anv: Avoid a couple of warnings related to vk_error macros 2020-12-02 08:30:46 -09:00
anv_queue.c anv: Check file descriptor before closing. 2020-09-28 15:34:01 -07:00
anv_util.c mesa: Promote Intel's simple logging façade for Android to util/ 2020-09-28 09:14:44 -07:00
anv_wsi.c anv: implement shareable timeline semaphores 2020-09-01 16:40:11 +00:00
anv_wsi_display.c vulkan/wsi/display: add option for display fence to signal syncobj 2020-09-24 13:20:00 +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 intel: Pointer to SCISSOR_RECT array should be 64B aligned 2020-11-09 21:29:04 +00:00
gen8_cmd_buffer.c isl, anv, iris: Add a centralized helper to select MOCS based on usage 2020-10-19 19:18:11 +00:00
genX_blorp_exec.c isl, anv, iris: Add a centralized helper to select MOCS based on usage 2020-10-19 19:18:11 +00:00
genX_cmd_buffer.c anv: fix calculation of buffer size in case dynamic size is used 2020-12-10 08:26:34 +02:00
genX_gpu_memcpy.c isl, anv, iris: Add a centralized helper to select MOCS based on usage 2020-10-19 19:18:11 +00:00
genX_pipeline.c anv: Implement VK_EXT_transform_feedback on Gen7 2020-10-05 22:34:07 +00:00
genX_query.c anv: Implement VK_KHR_performance_query 2020-05-20 14:02:27 +03:00
genX_state.c intel/gen9: Enable MSC RAW Hazard Avoidance 2020-10-01 16:57:50 +00:00
meson.build intel/anv: Build gen 12.5 2020-12-01 19:06:22 +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