mesa/src
Connor Abbott 7f40b5d0ca tu: Fix case where vertex input is set but not vertex buffers
Some CTS tests, in particular,
dEQP-VK.pipeline.pipeline_library.graphics_library.misc.independent_pipeline_layout_sets.*,
do the following:

1. Create a pipeline with a vertex input struct that defines a single
   attribute pointing to vertex buffer #0, but a vertex shader that
   doesn't use any attributes.
2. Bind the pipeline, but don't call vkCmdBindVertexBuffers(), then
   draw.

Other drivers handle this just fine because the vertex input registers
are never used. However we have an optimization in turnip where we
pre-calculate the size of the vertex buffer draw state when the vertex
input draw state is bound, which results in a vertex buffer draw state
with non-zero size but zero iova, resulting in hangs. While it's
questionable whether this is allowed, it's easy enough to just disable
the draw state in that case.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18554>
2022-09-21 11:20:15 +00:00
..
amd radv: emit the rasterization samples through an user SGPR if needed 2022-09-21 10:30:33 +00:00
android_stub
asahi agx: Convert and clamp array indices in NIR 2022-09-19 16:14:24 +00:00
broadcom v3dv: fix VK_EXT_texel_buffer_alignment 2022-09-20 12:52:31 +00:00
c11 c11: Update the values of enum mtx_plain, mtx_recursive, mtx_timed to make sure mtx_recursive != mtx_plain | mtx_recursive 2022-09-14 02:46:51 +00:00
compiler nir,radv: pass the number of samples to load_sample_positions_amd 2022-09-21 10:30:33 +00:00
drm-shim drm-shim: drop gnu99 override 2022-09-16 02:06:38 +00:00
egl egl: Return EGL_BAD_MATCH for invalid share_list 2022-09-20 15:47:22 +00:00
etnaviv util/list: rename LIST_ENTRY() to list_entry() 2022-07-28 10:10:44 +00:00
freedreno tu: Fix case where vertex input is set but not vertex buffers 2022-09-21 11:20:15 +00:00
gallium ci: add nouveau flakes 2022-09-20 22:14:03 +00:00
gbm Android: Use libgbm_mesa name for SDK30+ 2022-09-12 07:37:27 +00:00
getopt
glx glx: Remove some excess work from the GLX_FBCONFIG_ID fallback 2022-09-17 03:06:10 +00:00
gtest gtest: Fix maybe-uninitialized compiler warning 2022-06-29 21:02:18 +00:00
hgl
imagination pvr: Implement vkCmdWaitEvents2 API. 2022-09-16 13:02:30 +00:00
imgui
intel intel/compiler: add support for 8/16 bits task payload loads 2022-09-21 09:16:20 +00:00
loader loader: use os_get_option for driver override 2022-09-08 19:30:38 +00:00
mapi mesa: Expose GL_NV_ES1_1_compatibility 2022-08-25 10:17:10 -07:00
mesa fix: mesa/st: unused variable ‘src’ [-Wunused-variable] 2022-09-19 22:02:16 +00:00
microsoft vulkan: Add a vk_command_buffer_ops struct 2022-09-01 20:17:25 +00:00
nouveau nouveau: const cleanup 2022-09-16 14:23:47 +00:00
panfrost ci: add a panfrost flake 2022-09-20 21:18:39 +00:00
tool pps: enable track_event in system.cfg 2022-08-26 21:47:44 +00:00
util fix: util/format: unused variable ‘desc’ [-Wunused-variable] 2022-09-19 22:02:16 +00:00
virtio venus: use buffer cache for vkGetDeviceBufferMemoryRequirements 2022-09-15 20:35:18 +00:00
vulkan vulkan: Add a helper for gathering pipeline robustness 2022-09-20 23:53:51 +00:00
meson.build meson: Remove usage of use_elf_tls 2022-07-29 23:59:11 +00:00