r300: keep negation if w is an inline constant
authorFilip Gawin <filip@gawin.net>
Tue, 17 May 2022 16:10:21 +0000 (18:10 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 19 May 2022 06:34:02 +0000 (06:34 +0000)
commitfb2426db7a1eec78121609c0fb744c8f9cf885e9
treea3b777c6b21d13fc28547f683f9d4010e96ab5ed
parentc4cec842315313a24342d1d9a4dbd4ad11fbdd6c
r300: keep negation if w is an inline constant

(in dataflow swizzles pass)

helps with:
dEQP-GLES2.functional.shaders.random.conditionals.combined.73
on r300 and r400

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16559>
src/gallium/drivers/r300/compiler/radeon_dataflow_swizzles.c
src/gallium/drivers/r300/compiler/radeon_program_constants.h