radv/query: Add a nir_test_flag helper
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 19 Dec 2018 19:34:02 +0000 (13:34 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 19 Dec 2018 22:36:26 +0000 (16:36 -0600)
commit6896c91c106d634e66f568fde0a7301856f66306
tree18097a5d165455823c8d0ab853beb95f6d4f0886
parentc2ebc380524263df5447d9cee646f0024caea6f4
radv/query: Add a nir_test_flag helper

This is little more than an iadd_imm right now but it will help in the
next commit where we refactor things further.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Tested-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_query.c