aco: set tcs_in_out_eq=false if float controls of VS and TCS stages differ
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 2 Jul 2020 12:37:10 +0000 (13:37 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 17 Jul 2020 16:40:47 +0000 (16:40 +0000)
commit23631ddd4db192033cba1a2e3f3024f18651867f
tree04d630b29ae0a112c3ae4533d907c6b2039d2530
parentb36950ad2c044967ea1b53917c0b068637492f77
aco: set tcs_in_out_eq=false if float controls of VS and TCS stages differ

Otherwise, we might have both VS and TCS code in the same block but float
controls are set per-block.

We also rely on VS code not dominating TCS code for the optimizer to work
correctly.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5773>
src/amd/compiler/aco_instruction_selection_setup.cpp