broadcom/compiler: add a set_a_flags_for_subgroup helper
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 28 Jun 2021 07:45:18 +0000 (09:45 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Tue, 29 Jun 2021 06:43:06 +0000 (08:43 +0200)
commit5081de07f7dd637ab471c2420d145e2a9da21cb1
tree1655b191cbae18588ca253bfe6dc1aa75fbe543f
parentb9f510087df4aa2810839725a65af24cafeda42e
broadcom/compiler: add a set_a_flags_for_subgroup helper

We will need this in the future to implement more subgroup operations,
so make this code available in a helper.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11620>
src/broadcom/compiler/nir_to_vir.c