mesa: define nir_spirv_supported_capabilities
authorAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 6 Dec 2017 08:57:18 +0000 (09:57 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 6 Dec 2017 21:25:52 +0000 (22:25 +0100)
commit0398b31d1d49a4f9f369052b4ce3c0cf8fce176b
tree4ba20cce12fb524673f0046ee202c5e38a0ad399
parent5e1cb16768d3b97724ab85fbc50119dd8c9281c0
mesa: define nir_spirv_supported_capabilities

Until now it was part of spirv_to_nir_options. But it will be used on
the implementation of ARB_gl_spirv and ARB_spirv_extensions, and added
to the OpenGL context, as a way to save what SPIR-V capabilities the
current OpenGL implementation supports.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/spirv/nir_spirv.h
src/mesa/main/mtypes.h