mesa/src
Charmaine Lee 13e885842a translate: do not clamp element index in generic_run
The buffer max_index value in translate_generic struct is relevant for
indexed draw only. So do not clamp the element index in generic_run() as it
is called for non-indexed draw only.
This patch passes index_size to the common generic_run_one function
so index clamping is only performed when a non-zero index_size is specified.

This fixes a text selection bug with kitty terminal emulator running on ARM
when it falls back to the generic translate path for unsigned byte vertex
array.

cc: mesa-stable

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22568>
2023-04-19 20:53:27 +00:00
..
amd aco: use apply_nuw_to_ssa() with load_smem_amd 2023-04-19 19:29:48 +00:00
android_stub util/log: improve logger_android 2023-02-22 17:55:40 +00:00
asahi asahi: Add resource debugging 2023-04-07 03:23:04 +00:00
broadcom v3dv/ci: drop fixed failure from fails.txt 2023-04-16 20:49:05 +01:00
c11
compiler nir: add missing image atomic_inc/dec_wrap intrinsic 2023-04-19 08:39:46 +00:00
drm-shim drm-shim: Use hide_drm_device_path() to hide other drm devices 2022-12-30 15:51:11 -08:00
egl egl: inline driver.GetProcAddress() as it's always _glapi_get_proc_address() 2023-04-19 13:57:59 +00:00
etnaviv ci/etnaviv: Polish the gc2000 xfails a bit. 2023-03-29 07:52:45 +00:00
freedreno ci/freedreno: Fix a618-traces-performance rules 2023-04-19 20:18:10 +00:00
gallium translate: do not clamp element index in generic_run 2023-04-19 20:53:27 +00:00
gbm gbm: drop unnecessary vulkan dependency 2023-02-23 18:31:22 +00:00
getopt
glx glx: Fix error handling yet again in CreateContextAttribs 2023-04-06 21:29:54 +00:00
gtest
imagination pvr: Handle special built-in variable loading in vertex shader 2023-04-19 17:26:22 +00:00
imgui
intel anv: enable shaderStorageImageReadWithoutFormat on Gfx12.5+ 2023-04-19 06:04:52 +00:00
loader loader: Add Xe KMD support 2023-04-12 10:41:21 +00:00
mapi mesa: Add EXT_instanced_arrays support 2023-04-11 10:22:35 +00:00
mesa mesa/st: Make st_convert_image(_from_unit) declaration match definition 2023-04-18 09:49:44 +00:00
microsoft dzn: Remove #if D3D12_SDK_VERSION blocks now that 610 is required 2023-04-14 23:59:33 +00:00
nouveau nv50/ir: ignore CL system values 2023-04-14 07:41:54 +00:00
panfrost pan/va: fix typo in IADD_IMM.i32 description 2023-04-18 19:44:48 +03:00
tool pps: Fix build errors. 2023-03-13 01:22:46 +00:00
util virgl: add debug flag to force synchronous GL shader compilation 2023-04-19 06:35:35 +00:00
virtio venus: forward ARM driverVersion for ANGLE workarounds 2023-04-11 03:17:56 +00:00
vulkan vk/util: fix buggy usage of unreachable() 2023-04-18 13:59:55 +00:00
meson.build hgl: remove 2023-02-18 00:44:43 +00:00