mesa/src
Patrick Lerda afcbe85940 r600: ensure that the last vertex is always processed on evergreen
This situation is happening, for instance, when the hardware is
using the type FMT_8_8_8_8 (4 bytes) while the software was
requesting a 3 bytes type. The width should be adjusted to the
expected hardware size; otherwise, the last vertex is lost.

Note: The rv770 didn't behave like this. This is definitely
a hardware change between these gpus.

This change was tested on palm and cayman. Here are the tests fixed:
spec/!opengl 2.0/gl-2.0-vertexattribpointer-size-3: fail pass
deqp-gles2/functional/draw/random/62: fail pass
deqp-gles2/functional/vertex_arrays/single_attribute/strides/buffer_0_32_byte3_vec4_dynamic_draw_quads_1: fail pass
deqp-gles2/functional/vertex_arrays/single_attribute/strides/buffer_0_32_short3_vec4_dynamic_draw_quads_1: fail pass
deqp-gles2/functional/vertex_arrays/single_attribute/strides/buffer_0_32_short3_vec4_dynamic_draw_quads_256: fail pass
deqp-gles3/functional/draw/random/117: fail pass
deqp-gles3/functional/vertex_arrays/single_attribute/strides/byte/buffer_stride32_components3_quads1: fail pass
deqp-gles3/functional/vertex_arrays/single_attribute/strides/short/buffer_stride32_components3_quads1: fail pass
deqp-gles3/functional/vertex_arrays/single_attribute/strides/short/buffer_stride32_components3_quads256: fail pass

Cc: mesa-stable
Signed-off-by: Patrick Lerda <patrick9876@free.fr>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32184>
(cherry picked from commit 81889f4d5c)
2024-11-25 14:44:32 -08:00
..
amd aco/ra: use bitset for sgpr_operands_alias_defs 2024-11-21 09:13:33 -08:00
android_stub vulkan/android: Add helper to probe AHB support 2024-05-14 14:53:44 +00:00
asahi asahi: fix a2c with sample shading, harder 2024-11-12 09:12:17 -08:00
broadcom v3dv: report correct error on failure to probe 2024-11-22 10:16:20 -08:00
c11 build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
compiler nir: fix return value of nir_instr_move for some cases 2024-11-21 09:13:42 -08:00
drm-shim drm-shim: stub synobj_timeline_wait and query ioctl 2024-07-16 11:17:59 +02:00
egl vulkan/wsi/wayland: Pace frames with commit-timing-v1 2024-11-07 00:03:23 +00:00
etnaviv etnaviv: isa: Add img_store instruction 2024-10-23 07:58:04 +00:00
freedreno tu: Fix memory leaks on VK_PIPELINE_COMPILE_REQUIRED 2024-11-21 09:13:35 -08:00
gallium r600: ensure that the last vertex is always processed on evergreen 2024-11-25 14:44:32 -08:00
gbm gbm/dri: Fix color format for big endian. 2024-10-25 14:18:24 +00:00
getopt build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
gfxstream gfxstream: update Kumquat API 2024-11-05 16:28:56 -08:00
glx glx: avoid null-deref 2024-11-18 09:40:13 -08:00
gtest build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imagination pvr: Make Vulkan driver depend only on nir headers, not library 2024-10-23 16:47:34 +00:00
imgui
intel anv/android: always create 2 graphics and compute capable queues 2024-11-25 14:44:27 -08:00
loader loader: Fix typo in __DRI_IMAGE_FORMAT_XBGR16161616 definition 2024-10-25 14:18:24 +00:00
mapi meson: remove selinux option 2024-10-21 01:14:35 +00:00
mesa st/mesa: implement key->persample_shading for lowered IO 2024-11-06 15:51:51 +00:00
microsoft dzn: Clean up dri options cache 2024-11-06 20:53:13 +00:00
nouveau nvk: Fix invalidation of NVK_CBUF_TYPE_DYNAMIC_UBO 2024-11-13 08:30:58 -08:00
panfrost panvk: fix frag_completed for layered rendering 2024-11-21 09:31:42 -08:00
tool perfetto: Add Panfrost data sources to system.cfg 2024-08-22 18:33:45 +00:00
util util/cache_test: Fix racey Cache.List test 2024-11-21 09:13:38 -08:00
virtio venus: handle device probing properly. 2024-11-22 10:16:22 -08:00
vulkan vulkan/wsi/wayland: Move timing calculations to the swapchain 2024-11-22 10:16:26 -08:00
x11 meson: require dri3 modifiers 2024-09-06 17:34:17 +00:00
.clang-format panfrost: Move ForEachMacros into panfrost 2024-09-12 20:04:58 +00:00
meson.build mesa: add gfxstream-experimental to -Dvulkan-drivers 2024-09-19 20:06:04 +00:00