spirv: Add imageoperands_to_string helper
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 23 Oct 2019 05:25:29 +0000 (22:25 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 24 Oct 2019 18:39:56 +0000 (11:39 -0700)
commitd27b853c08e5e254b89c1fda003cc331792f3744
treee85f4b0bbfdfd17fe51e3459e2d62c23a3d6f6ba
parent06aecb14c0476c1a4664f75b17fa2ba06fa5aa46
spirv: Add imageoperands_to_string helper

Change the information to also include the category, so that the
particulars of BitEnum enumeration can be handled in the template.

Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/compiler/spirv/spirv_info.h
src/compiler/spirv/spirv_info_c.py