mesa/src
Danylo Piliaiev 6003a89b89
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
tu: Use safe-const binning VS when safe-const full VS is used
Otherwise we can have a case where binning VS uses more consts than
full VS (when safe variant is used for full VS), that will result in
a rendering issue because SP_VS_CONST_CONFIG.CONSTLEN is shared between
full and binning VS in PROGRAM_CONFIG state and gets the value from the
full VS.

There are two alternative solutions that can allow binning VS to always
use maximum constlen:
- Move constlen emission to per-XS config. This interferes
  PROGRAM_CONFIG state which uploads consts and does SP_UPDATE_CNTL.
  Consts would need to be uploaded after constlen is defined, while
  SP_UPDATE_CNTL must be done before per-XS state is emitted.
  Also having SP_UPDATE_CNTL in a draw state that is always DIRTY
  isn't great.
  Something didn't work out on A6XX, so this idea was dropped.
- Emit constlen again in VS_BINNING draw state. This seem to work
  but also likely an undefined behaviour since constlen is changed
  after some consts are uploaded.

Cc: mesa-stable

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36203>
2025-07-17 19:33:42 +00:00
..
amd ci/fluster: remove 3 pass cases resulted by gaps_in_frame 2025-07-17 12:44:51 +00:00
android_stub
asahi treewide: use nir_mov_scalar 2025-07-16 18:59:16 +00:00
broadcom ci/piglit: provide default results file name 2025-07-16 12:54:06 +00:00
c11
compiler vtn/opencl: set exact on all ffmas and mads 2025-07-17 16:47:23 +00:00
drm-shim
egl dri: Get rid of __DRIbackgroundCallableExtension 2025-07-16 01:32:56 +00:00
etnaviv etnaviv/ci: document fixed tests 2025-07-15 22:27:40 +00:00
freedreno tu: Use safe-const binning VS when safe-const full VS is used 2025-07-17 19:33:42 +00:00
gallium rusticl/mem: set swizzle for intensity images 2025-07-17 19:13:37 +00:00
gbm gbm: Add more formats 2025-07-15 12:37:10 +00:00
getopt
gfxstream gfxstream: move variables into the #ifdef that uses them 2025-07-16 20:30:40 +00:00
glx dri: Get rid of __DRIbackgroundCallableExtension 2025-07-16 01:32:56 +00:00
gtest
imagination nir/opt_vectorize_io: optionally vectorize loads with holes 2025-07-15 16:29:30 +00:00
imgui
intel isl: Set tiling requirements for video surfaces 2025-07-16 04:08:16 +00:00
loader dri: Add additional 16/32b float/int formats 2025-07-15 12:37:10 +00:00
mapi mesa: support NV_timeline_semaphore 2025-07-07 21:18:29 +00:00
mesa mesa: Include mask value in glStencilMask VERBOSE_API debug output 2025-07-16 00:32:13 +00:00
microsoft dozen: adopt wsi_common_get_memory 2025-07-09 23:45:04 +00:00
nouveau nak: disable imma 8x8x16 on Blackwell+ 2025-07-16 14:53:50 +00:00
panfrost panfrost: fix SSA register allocation 2025-07-16 12:16:50 +00:00
tool pps: Generate libgpudataprofiling.so from pps-producer sources for Android CTS 2025-07-15 20:29:57 +00:00
util mesa: subprojects: remove linux-raw-sys backend and use libc 2025-07-14 10:23:47 -07:00
virtio venus/ci: udpate expectations from venus-lavapipe-full runs 2025-07-16 22:56:43 +00:00
vulkan x11: Add an x11_xlib_display_is_thread_safe() helper 2025-07-16 01:32:56 +00:00
x11 x11: Add an x11_xlib_display_is_thread_safe() helper 2025-07-16 01:32:56 +00:00
.clang-format libagx: port pre-GS to CL 2025-06-27 15:31:49 +00:00
meson.build meson: Only build src/x11 if with_platform_x11 2025-07-16 01:32:55 +00:00