mesa/src/amd/vulkan
Samuel Pitoiset f3cccd05d9 radv/gfx10: fix the out-of-bounds check for vertex descriptors
When stride is 0, it should check against the offset not the index.

This fixes black character models with Beat Saber and missing snow
with Dragon Quest.

Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2233
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1975
Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3147>
2019-12-19 15:15:30 +01:00
..
winsys/amdgpu ac: add radeon_info::num_rings and move ring_type to amd_family.h 2019-11-19 18:31:53 -05:00
.editorconfig
Android.mk
gfx10_format_table.py
Makefile.sources
meson.build radv: Move argument declaration out of nir_to_llvm 2019-11-25 14:17:51 +01:00
radv_android.c radv: Fix RGBX Android<->Vulkan format correspondence. 2019-12-11 11:40:13 +01:00
radv_cmd_buffer.c radv/gfx10: fix the out-of-bounds check for vertex descriptors 2019-12-19 15:15:30 +01:00
radv_constants.h radv: add more constants to avoid using magic numbers 2019-11-28 10:59:14 +01:00
radv_cs.h
radv_debug.c radv: fix 32-bit compiler warnings 2019-11-06 08:00:33 +01:00
radv_debug.h radv: remove useless RADV_DEBUG=unsafemath debug option 2019-11-15 09:07:34 +01:00
radv_descriptor_set.c radv: fix vkUpdateDescriptorSets with inline uniform blocks 2019-10-23 09:59:22 +02:00
radv_descriptor_set.h
radv_device.c radv: Limit workgroup size to 1024. 2019-12-18 20:41:18 +00:00
radv_entrypoints_gen.py
radv_extensions.py radv: implement VK_KHR_separate_depth_stencil_layouts 2019-12-10 13:16:17 +01:00
radv_formats.c
radv_icd.py
radv_image.c radv: implement VK_KHR_separate_depth_stencil_layouts 2019-12-10 13:16:17 +01:00
radv_llvm_helper.cpp
radv_meta.c
radv_meta.h radv: initialize HTILE for separate depth/stencil aspects 2019-12-10 13:09:29 +01:00
radv_meta_blit.c
radv_meta_blit2d.c
radv_meta_buffer.c radv: set alignment for load_ssbo/store_ssbo in meta shaders 2019-11-25 13:59:11 +00:00
radv_meta_bufimage.c
radv_meta_clear.c radv: initialize HTILE for separate depth/stencil aspects 2019-12-10 13:09:29 +01:00
radv_meta_copy.c
radv_meta_decompress.c radv: select the depth decompress path based on the aspect mask 2019-11-25 16:29:23 +01:00
radv_meta_fast_clear.c
radv_meta_fmask_expand.c nir: move data.image.access to data.access 2019-11-19 18:20:05 -05:00
radv_meta_resolve.c radv: set the image view aspect mask before resolves 2019-11-25 16:29:16 +01:00
radv_meta_resolve_cs.c radv: initialize HTILE for separate depth/stencil aspects 2019-12-10 13:09:29 +01:00
radv_meta_resolve_fs.c
radv_nir_lower_ycbcr_textures.c
radv_nir_to_llvm.c radv/gfx10: fix ngg_get_ordered_id 2019-12-17 12:34:18 +00:00
radv_pass.c radv: implement VK_KHR_separate_depth_stencil_layouts 2019-12-10 13:16:17 +01:00
radv_pipeline.c radv: fix possibly wrong PA_SC_AA_CONFIG value for conservative rast 2019-12-10 11:04:43 +01:00
radv_pipeline_cache.c radv: make use of radv_sc_read() 2019-10-30 04:49:58 +00:00
radv_private.h radv: implement VK_KHR_separate_depth_stencil_layouts 2019-12-10 13:16:17 +01:00
radv_query.c radv: set alignment for load_ssbo/store_ssbo in meta shaders 2019-11-25 13:59:11 +00:00
radv_radeon_winsys.h ac: add radeon_info::num_rings and move ring_type to amd_family.h 2019-11-19 18:31:53 -05:00
radv_shader.c radv: enable SpvCapabilityImageMSArray 2019-12-12 18:52:08 +01:00
radv_shader.h radv: Replace supports_spill with explict_scratch_args 2019-11-25 14:17:51 +01:00
radv_shader_args.c aco: Use common argument handling 2019-11-25 14:17:51 +01:00
radv_shader_args.h radv/gfx10: fix ngg_get_ordered_id 2019-12-17 12:34:18 +00:00
radv_shader_helper.h
radv_shader_info.c radv: set writes_memory for global memory stores/atomics 2019-12-02 11:47:12 +00:00
radv_util.c
radv_util.h
radv_wsi.c radv: Start signalling semaphores in WSI acquire. 2019-10-30 19:42:10 +01:00
radv_wsi_display.c
radv_wsi_wayland.c
radv_wsi_x11.c
si_cmd_buffer.c
vk_format.h
vk_format_layout.csv
vk_format_parse.py
vk_format_table.py util: rename PIPE_ARCH_*_ENDIAN to UTIL_ARCH_*_ENDIAN 2019-11-05 16:39:55 +00:00