mesa/spirv: move and rename nir_spirv_supported_capabilities
authorAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 7 Dec 2017 08:38:41 +0000 (09:38 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 7 Dec 2017 16:15:11 +0000 (17:15 +0100)
commit25e56b2ebafe2bcebb23819cc355e1b079a839d6
tree6f71e869fe0a7abc55e12691cfc8c03edbe5fa19
parentb2490a326c28652b85400da0e1bbff108167d140
mesa/spirv: move and rename nir_spirv_supported_capabilities

To avoid any vulkan driver to include the GL mtypes.h. Renamed as
eventually this could be used by drivers not using nir.

v2: remove compiler/spirv/spirv.h from mtypes (Alejandro)
v3: added the definition at compiler/shader_info.h (Jason Ekstrand)

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/shader_info.h
src/compiler/spirv/nir_spirv.h
src/mesa/main/mtypes.h