aco: Use ac_get_sampler_dim, delete duplicate code.
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 4 Oct 2019 13:12:21 +0000 (15:12 +0200)
committerTimur Kristóf <timur.kristof@gmail.com>
Thu, 10 Oct 2019 07:57:53 +0000 (09:57 +0200)
commiteaa2a7cdf6655fa163e3ceccbb6052d3755cbd1f
tree7c5938739c3934007905eee1db234a8941e71dc8
parent1de9ef9c96c1933b20ba1877cad799794e10359d
aco: Use ac_get_sampler_dim, delete duplicate code.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
src/amd/compiler/aco_instruction_selection.cpp