mesa/src
Emma Anholt 4deeb4b55c nir: Add lowering for fround_even on r300.
When we put NIR in the compiler stack for r300, indirect addressing broke
for gallium nine.  DX's array indirects round the float value, so the DX
shader gets mapped to a TGSI "ARR ADDR[0] src.x" instruction.  Translating
that to NIR maps to r0[f2i32(fround(src.x))].  While we might hope that in
translation back using nir-to-tgsi after optimization we would recognize
the construct and emit ARR again, that's going to be error prone (think
"what if src.x is in a NIR register?") so we need a fallback plan.  r300
will be able to handle this lowering, so get it in place first to fix the
regression.

Fixes: #6297
Fixes: 7d2ea9b0ed ("r300: Request NIR shaders from mesa/st and use NIR-to-TGSI.")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15870>
(cherry picked from commit 6947016b46)
2022-04-21 21:03:06 -07:00
..
amd radv: save/restore the stencil reference during internal driver operations 2022-04-21 21:03:06 -07:00
android_stub android_stub: update platform headers to include atrace 2021-10-09 00:42:32 +00:00
asahi agx: Lower UBO loads to use per-element indexing 2022-01-24 14:25:18 +00:00
broadcom v3dv/queue: Rework multisync_free 2022-04-21 16:10:22 -07:00
compiler nir: Add lowering for fround_even on r300. 2022-04-21 21:03:06 -07:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl egl/wayland: Reset buffer age when destroying buffers 2022-02-07 21:49:41 -08:00
etnaviv etnaviv: add support for INTEL_blackhole_render 2022-01-31 16:52:29 +00:00
freedreno turnip: Stop allocating unused pvtmem space in the pipeline CS. 2022-04-21 21:03:06 -07:00
gallium nir: Add lowering for fround_even on r300. 2022-04-21 21:03:06 -07:00
gbm replace 0 with NULL for NULL pointers 2022-01-10 22:53:32 +00:00
getopt
glx glx: fix pbuffer refcount init 2022-02-24 14:56:51 -08:00
gtest gtest: Fix output of array ASSERT/EXPECT macros 2021-11-11 09:53:09 -08:00
hgl
imgui
intel anv: fix push constant lowering for task/mesh 2022-04-21 21:03:06 -07:00
loader loader: Restore i915g support. 2021-12-09 09:05:23 -08:00
mapi glthread: call _mesa_glthread_BindBuffer unconditionally 2022-02-01 06:11:22 +00:00
mesa mesa/st: set normalized coords for RECT samplers if rects are unsupported 2022-04-21 21:03:06 -07:00
microsoft nir: Add missing dependency on nir_opcodes.py 2022-02-24 14:56:52 -08:00
nouveau
panfrost panfrost: Stop overallocating compressed textures 2022-04-21 21:03:06 -07:00
tool ci: Use a dlclose-disabling preload library for leak checking in Vulkan. 2022-01-27 23:47:46 +00:00
util drirc: enable radeonsi_zerovram for Black Geyser 2022-04-21 21:03:05 -07:00
virtio virgl: Fix texture transfers by using a staging resource 2022-03-14 10:43:55 -07:00
vulkan vulkan/queue: Destroy wait temps if they are skipped 2022-04-21 21:03:04 -07:00
meson.build meson: start building intel earlier. 2022-01-20 06:41:17 +00:00