mesa/src
Gert Wollny 234e8fd157 r600/sfn: make sure we return a non-negative number of registers
If a shader doesn't use any register and only ssa values we might
end up with zero minimum registers, and because a unsigned is
returned that goes wrong.

Fixes: 565816dfa15214abbeef9a9d94e44f30507ca4d7
    r600/sfn: Set minimum required registers based on array allocation

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8008

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20516>
2023-01-04 14:45:33 +00:00
..
amd radv: rework generating the PS epilog key 2023-01-04 13:15:03 +00:00
android_stub
asahi asahi: Clang-format the subtree 2022-12-27 22:46:29 +00:00
broadcom ci/broadcom: add rpi3 flake color_clears.multi_context.gles2.rgba8888_pbuffer 2022-12-29 17:21:38 +00:00
c11 c11: Remove _MTX_INITIALIZER_NP for windows 2022-11-09 04:38:28 +00:00
compiler glsl: Remove bit_count lowering 2023-01-03 18:37:53 -08: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/wayland: Prefer back buffer with minimum buffer age 2022-12-16 10:30:47 +00:00
etnaviv tree-wide: Use __func__ instead of __FUNCTION__ in non-gallium code 2022-11-22 06:53:46 +00:00
freedreno docs/freedreno: Extract debug tooling docs and improve gpu dbg docs 2023-01-04 12:31:52 +00:00
gallium r600/sfn: make sure we return a non-negative number of registers 2023-01-04 14:45:33 +00:00
gbm gbm: Don't look up the DRI2_FENCE extension. 2022-12-09 05:32:18 +00:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx glx: Remove the GetProcAddress special case for indirect rendering 2023-01-03 23:36:26 +00:00
gtest gtest: Fix maybe-uninitialized compiler warning 2022-06-29 21:02:18 +00:00
hgl
imagination pvr: Check depth/stencil attachment is tile-aligned 2022-12-08 14:53:13 +00:00
imgui
intel intel/compiler: Enable lower_bitfield_extract_to_shifts and lower_bitfield_insert_to_shifts for pre-Gfx7 2023-01-03 18:37:53 -08:00
loader loader/dri3: Simplify new buffer allocation in dri3_find_back 2022-12-16 10:30:47 +00:00
mapi glx: Remove the GetProcAddress special case for indirect rendering 2023-01-03 23:36:26 +00:00
mesa st/mesa: Fix free of non-shareable shaders on context destroy 2023-01-02 13:50:52 +00:00
microsoft spirv2dxil: Support linking multiple shaders 2023-01-03 18:42:45 +00:00
nouveau nir: Eliminate nir_op_i2b 2022-12-14 06:23:21 +00:00
panfrost pan/bi: Move Bifrost specific C code to src/compiler/bifrost 2023-01-02 17:54:49 +00:00
tool pps: make pps-producer RT only on freedreno 2022-11-15 21:21:42 +00:00
util util: Drop the ENUM_PACKED macro 2023-01-04 01:09:32 +00:00
virtio ci: update venus-lavapipe test expectations 2023-01-03 19:26:42 +00:00
vulkan vulkan/runtime: Preserve pNext when upgrading to synchronization2 structs 2023-01-03 17:20:30 +00:00
meson.build meson: build radeon drm-shim also for r300 and r600 2022-11-16 14:37:47 +00:00