mesa/src/intel/vulkan
Lionel Landwerlin 3f8f52b241 anv: fix vkUpdateDescriptorSets with inline uniform blocks
With inline uniform blocks descriptor, the meaning of descriptorCount
is a number of bytes to copy into the descriptor. Don't try to use
that size as an index into the descriptor table.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 43f40dc7cb ("anv: Implement VK_EXT_inline_uniform_block")
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/issues/1195
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2019-10-19 13:16:40 +03:00
..
tests anv: Fix pool allocator when first alloc needs to grow 2019-07-12 22:25:37 -07:00
anv_allocator.c intel: Increase Gen11 compute shader scratch IDs to 64. 2019-09-23 16:59:40 -07:00
anv_android.c anv: support GetSwapchainGrallocUsage2ANDROID for Android 2019-08-08 05:08:01 +00:00
anv_android.h anv/android: support creating images from external format 2018-12-19 09:38:41 +02:00
anv_android_stubs.c anv/android: support creating images from external format 2018-12-19 09:38:41 +02:00
anv_batch_chain.c tree-wide: replace MAYBE_UNUSED with ASSERTED 2019-07-31 09:41:05 +01:00
anv_blorp.c intel/blorp: Use wide formats for nicely aligned stencil clears 2019-09-06 23:35:09 +00:00
anv_cmd_buffer.c anv: Only re-emit non-dynamic state that has changed. 2019-08-23 15:55:18 -07:00
anv_descriptor_set.c anv: fix vkUpdateDescriptorSets with inline uniform blocks 2019-10-19 13:16:40 +03:00
anv_device.c anv: Implement VK_KHR_shader_clock 2019-10-07 09:12:12 -07:00
anv_dump.c tree-wide: replace MAYBE_UNUSED with ASSERTED 2019-07-31 09:41:05 +01:00
anv_entrypoints_gen.py anv: split instance dispatch table 2019-09-20 08:31:58 +00:00
anv_extensions.py anv: Advertise VK_KHR_spirv_1_4 2019-10-14 08:25:42 -07: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: Don't claim support for 24 and 48-bit formats on IVB 2019-07-29 11:34:30 -05: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/gen9: Optimize slice and subslice load balancing behavior. 2019-08-12 14:40:21 -07:00
anv_icd.py anv: fix typo 2019-06-29 22:41:06 +01:00
anv_image.c anv: Disable fast clears when running with INTEL_DEBUG=nofc 2019-10-09 13:29:26 -07:00
anv_intel.c anv: fix format string in error message 2019-09-04 00:13:20 +01:00
anv_nir.h anv,nir: Move lower_input_attachments pass from ANV to NIR. 2019-07-08 14:02:50 +02:00
anv_nir_add_base_work_group_id.c anv: Implement vkCmdDispatchBase 2018-03-07 12:13:47 -08:00
anv_nir_apply_pipeline_layout.c nir: Add explicit signs to image min/max intrinsics 2019-08-21 17:19:55 +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_push_constants.c spirv/i965/anv: Relax push constant offset assertions being 32-bit aligned 2018-02-28 21:37:40 -08:00
anv_nir_lower_ycbcr_textures.c nir: make nir_const_value scalar 2019-04-14 22:25:56 +02:00
anv_pass.c anv/pass: Flag the need for a RT flush for resolve attachments 2019-03-13 17:58:27 -05:00
anv_pipeline.c anv/pipeline: Capture serialized NIR 2019-10-09 22:28:01 +00:00
anv_pipeline_cache.c nir: add a strip parameter to nir_serialize 2019-10-10 15:47:07 -04:00
anv_private.h anv/pipeline: Capture serialized NIR 2019-10-09 22:28:01 +00:00
anv_queue.c anv: remove unused Linux-specific include 2019-08-08 21:44:33 +01:00
anv_util.c anv/util: Split a vk_errorv helper out of vk_errorf 2018-10-26 13:27:21 -05:00
anv_wsi.c anv: add support for driconf 2019-09-06 23:16:05 +01:00
anv_wsi_display.c anv,radv: Add support for VK_KHR_get_display_properties2 2018-07-09 17:09:41 -07: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: Implement VK_EXT_line_rasterization 2019-08-06 02:05:28 +00:00
genX_blorp_exec.c anv/gen9: Optimize slice and subslice load balancing behavior. 2019-08-12 14:40:21 -07:00
genX_cmd_buffer.c anv,iris: L3ALLOC register replaces L3CNTLREG for gen12 2019-09-06 13:11:25 -07:00
genX_gpu_memcpy.c anv: Move mi_memcpy and mi_memset to gen_mi_builder 2019-04-11 18:04:09 +00:00
genX_pipeline.c anv: Implement VK_KHR_pipeline_executable_properties 2019-08-12 22:56:07 +00:00
genX_query.c anv: rework queries writes to ensure ordering memory writes 2019-05-08 09:49:09 +00:00
genX_state.c Revert "intel/gen11+: Enable Hardware filtering of Semi-Pipelined State in WM" 2019-09-23 16:31:23 -07:00
meson.build anv: add exported symbols check 2019-10-13 17:40:47 +01: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