r300: simplify KILL transformation
authorPavel Ondračka <pavel.ondracka@gmail.com>
Wed, 22 Feb 2023 19:32:33 +0000 (20:32 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 24 Feb 2023 08:59:53 +0000 (08:59 +0000)
commita8e1e5b5c2aeb7c2fb4eff2203a026090f0853b9
tree97b4a97672fc383bed5bad547407f065de81a19c
parentfc0f694676559a30bfb12b6c88570c4dee6e88e2
r300: simplify KILL transformation

We had some special cases before when we could actually get some IFs on
R300 with VDPAU. Now that VDPAU is gone and everything goes through
ntt, we don't have to worry anymore. Remove the complicated logic and
just always transform KILL into KIL none.-1

No shader-db change on RV530 or RV370.

Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Filip Gawin <filip@gawin.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21503>
src/gallium/drivers/r300/compiler/r3xx_fragprog.c
src/gallium/drivers/r300/compiler/radeon_program_alu.c
src/gallium/drivers/r300/compiler/radeon_program_alu.h