anv: Simplify subgroup_size_type rules for compute shaders
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 17 Sep 2021 00:52:38 +0000 (17:52 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 21 Sep 2021 21:35:20 +0000 (21:35 +0000)
commit9add809e7fb2a7c96c5a1d7658b908baa39700cc
tree3f70324c379902f2da2e3ab8193359a342c4cbbb
parentca0f892191b3ad83928ac13b8aed8457029ea2fd
anv: Simplify subgroup_size_type rules for compute shaders

The populate_base_prog_key will set VARYING depending if the pipeline
flag is used.  Later, when full subgroups flag is set, it will flip to
UNIFORM -- which for compute shaders is effectively the same, so don't
bother setting it again.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12946>
src/intel/vulkan/anv_pipeline.c