aco/util: override default assignment operator for bitfield helpers
authorGeorg Lehmann <dadschoorse@gmail.com>
Mon, 27 Mar 2023 21:35:57 +0000 (23:35 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 28 Mar 2023 10:49:07 +0000 (10:49 +0000)
commit16c03fd756a6c39270073883da1aed3c8c20a7b8
treef7ba9a5ab70bc0a5dcecf7c12b6133f34b7c35fd
parented03696ed9d83332427f3584d122f91b635a522f
aco/util: override default assignment operator for bitfield helpers

Otherwise, the default assignment operator copies the whole uint,
not just few bits we are interested in.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Fixes: e7559da7570 ("aco: add bitfield array helper classes")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22154>
src/amd/compiler/aco_util.h