aco: stop multiplying driver_location by 4
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 18 Sep 2020 12:31:43 +0000 (13:31 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 22 Sep 2020 12:38:43 +0000 (12:38 +0000)
commitf100cf0d30e2345c740a0a37090bf35c89c96b3e
tree77a0d23a4868b141f4fac9b15e207284572eaaf2
parentfd872c3cf7729d7ef668d48f9b7f22ce964fbf2c
aco: stop multiplying driver_location by 4

This didn't really serve any purpose, doesn't match how FS inputs are
currently done, and prevented us from using
nir_io_add_const_offset_to_base in the future.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6689>
src/amd/compiler/aco_instruction_selection.cpp
src/amd/compiler/aco_instruction_selection_setup.cpp
src/compiler/nir/nir_linking_helpers.c