radv,aco: fix use of texop_samples_identical in the resolve meta path
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 20 Oct 2020 14:56:29 +0000 (16:56 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 21 Oct 2020 11:06:53 +0000 (13:06 +0200)
commiteb6877d3af337f76143755606d4a7aea132526c7
tree3b146db6a5889a2d61bfc1217880412a407796f3
parenteacdad7ea0df5d9804282f697b3cfeebf88a1325
radv,aco: fix use of texop_samples_identical in the resolve meta path

The return value of this texture intrinsic should be a NIR 1-bit bool.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7236>
src/amd/compiler/aco_instruction_selection.cpp
src/amd/compiler/aco_instruction_selection_setup.cpp
src/amd/vulkan/radv_meta.c