aco: add helper function for can_use_input_modifiers
authorGeorg Lehmann <dadschoorse@gmail.com>
Tue, 16 May 2023 15:02:45 +0000 (17:02 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 18 May 2023 22:57:24 +0000 (22:57 +0000)
commit0ffc9bccfaf44ac9fffc3260bb605ad8521547c7
tree4306ae731c25b9cb5422a01c778e54508b7894f0
parentb4ff7e256712d245ed3d7c5eb1b7ec79c50ccb62
aco: add helper function for can_use_input_modifiers

Some instructions have restrictions that can't be expressed with the bitfield.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23059>
src/amd/compiler/aco_ir.cpp
src/amd/compiler/aco_ir.h