mesa/src
Pierre-Eric Pelloux-Prayer f0595be988 vbo/dlist: add vertices to incomplete primitives
If a primitive is added with missing vertices, this will shift all
the vertices and produce incorrect rendering.

In issue #5786 the app uses GL_LINE_STRIPS with a single vertex.

Adding extra vertices can make the initial estimation for the index
buffer size incorrect, so this buffer can now be growed if needed.

Fixes: ac3d4c7635 ("vbo/dlist: convert LINE_STRIPS to LINES")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5786
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14476>
(cherry picked from commit dcbf2423d2)
2022-01-12 19:54:27 +00:00
..
amd aco: remove pack_half_2x16(a, 0) optimization 2022-01-12 19:54:26 +00:00
android_stub android_stub: update platform headers to include atrace 2021-10-09 00:42:32 +00:00
asahi nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
broadcom v3dv: Fix V3DV_HAS_SURFACE preprocessor condition 2021-12-17 22:30:50 +00:00
compiler glsl/glcpp: make sure to expand new token after concatenation 2022-01-12 19:54:24 +00:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl egl/wayland: Properly clear stale buffers on resize 2021-10-20 20:40:58 +01:00
etnaviv etnaviv: drm: properly handle reviving BOs via a lookup 2022-01-12 19:54:26 +00:00
freedreno tu: fix workaround for depth bounds test without depth test 2022-01-12 19:54:26 +00:00
gallium nir_to_tgsi: Fix a bug in TXP detection after backend lowering. 2022-01-12 19:54:26 +00:00
gbm gbm: Don't pass default usage flags on ABIs < 1 2021-12-17 22:30:49 +00:00
getopt
glx glx/dri3: fix glXQueryContext does not return GLX_RENDER_TYPE value 2021-12-01 18:55:46 +00:00
gtest
hgl
imgui
intel anv: limit compiler valid color outputs using NIR variables 2022-01-12 19:54:26 +00:00
loader loader/dri3: fix swap out of order when changing swap interval 2021-09-30 03:27:14 +00:00
mapi glapi: should not add alias function to static_data.py 2022-01-12 19:54:24 +00:00
mesa vbo/dlist: add vertices to incomplete primitives 2022-01-12 19:54:27 +00:00
microsoft microsoft/compiler: Fix dxil_nir_create_bare_samplers() 2022-01-12 19:54:24 +00:00
nouveau
panfrost lima,panfrost: Correct pixel vs block mismatches 2022-01-12 19:54:26 +00:00
tool pps: Panfrost pps driver 2021-07-13 11:03:55 +00:00
util radv: add drirc radv_disable_htile_layers and enable it for F1 2021 2022-01-12 19:54:24 +00:00
virtio venus: subtract appended header size in vn_CreatePipelineCache 2022-01-12 19:54:26 +00:00
vulkan vulkan/log: Don't assert on non-client-visible objects 2021-12-29 20:56:28 +00:00
meson.build radv: Allow building when LLVM isn’t enabled 2021-10-01 10:40:18 +02:00