mesa/src
Pierre-Eric Pelloux-Prayer 4c0b8254a2 vbo/dlist: reallocate the vertex buffer on vertex upgrade
upgrade_vertex copies save->copied.nr vertices to the vertex buffer,
so we need to make sure it has enough space to accomodate them.

This commit also drops the usage of COPY_CLEAN_4V_TYPE_AS_UNION in
this function because it always writes 4-components for all attributes,
but our buffer might be smaller. Instead, only write the needed
components.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5353
Fixes: cc57156dce ("vbo/dlist: rework vertex_store management")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12849>
2021-09-17 09:42:19 +02:00
..
amd radv: Remove PSIZ output when it isn't needed. 2021-09-16 11:06:05 +00:00
android_stub egl/android: refactor to use the legit vndk/window.h header 2021-06-09 21:07:54 +00:00
asahi nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
broadcom v3dv: start using Broadcom's device identifiers 2021-09-15 12:54:48 +00:00
compiler nir: Stop sweeping indirects 2021-09-16 11:28:36 +00:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl egl: Update Windows .def to include missing exports 2021-09-16 17:38:58 +00:00
etnaviv android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
freedreno freedreno: Handle timeout == PIPE_TIMEOUT_INFINITE and rollover 2021-09-17 00:46:57 +00:00
gallium r300: assert that array in translate_vertex_program is initialized 2021-09-17 07:19:24 +00:00
gbm gbm/dri: implement image lookup extension version 2 2021-09-09 01:42:39 +00:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx glx: Prevent crashes when an extension isn't found 2021-09-08 11:46:51 +00:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel intel/decode/gfx6: add support for gfx6 CC/VIEWPORT pointers. 2021-09-16 05:13:16 +10:00
loader driconfig: Add support for device specific config 2021-08-02 16:37:24 -07:00
mapi static-glapi: Fix MSVC preprocessor definitions 2021-09-08 07:21:53 -07:00
mesa vbo/dlist: reallocate the vertex buffer on vertex upgrade 2021-09-17 09:42:19 +02:00
microsoft nir: Drop the unused instr arg for src/dest copy functions. 2021-09-14 17:53:06 +00:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost pan/bi: Don't set dependencies for +BLEND in blend shaders 2021-09-15 22:42:03 +00:00
tool pps: Panfrost pps driver 2021-07-13 11:03:55 +00:00
util util/cache: run basic cache tests on the single file cache 2021-09-17 01:25:46 +00:00
virtio venus: separate physical device init and filter 2021-09-09 20:07:18 +00:00
vulkan vulkan/wsi/x11: add driconf option to not wait under Xwayland 2021-09-13 19:38:13 +00:00
meson.build meson: Include EGL after gallium 2021-09-15 20:17:31 +00:00