aco: skip unnecessary compiler pass for the trap handler program
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 21 Aug 2020 09:33:22 +0000 (11:33 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 24 Aug 2020 11:08:24 +0000 (11:08 +0000)
commita0814a873d50f65484b17927379fbb47cf90372e
treed396e79f1a274e9d0d1a407e691bceb2891d1972
parent9c46e6fca323390f3cb74d6e865d2883a4fbd453
aco: skip unnecessary compiler pass for the trap handler program

The shader is written by hands with assigned registers, so most of
the pass are unnecessary.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6384>
src/amd/compiler/aco_interface.cpp