aco: allow constant offsets for global/scratch instructions on GFX10
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 20 Nov 2019 14:52:15 +0000 (14:52 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Tue, 26 Nov 2019 14:39:27 +0000 (14:39 +0000)
commit37843e454e037701feb41cc36ca501c03e62f7db
tree707d2e750f94ae85d625e58efdeb1f5cccc77451
parent02375b84364186681b86e957aa339284405f1e0f
aco: allow constant offsets for global/scratch instructions on GFX10

I don't think the bug applies for global/scratch instructions and
load_barycentric_at_sample selection expects this feature to work.

Fixes various dEQP-VK.pipeline.multisample_interpolation.* tests on GFX10.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-By: Timur Kristóf <timur.kristof@gmail.com>
src/amd/compiler/aco_assembler.cpp
src/amd/compiler/aco_ir.h