spirv: Convert the supported_extensions struct to spirv_options
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 19 Oct 2017 00:28:19 +0000 (17:28 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 2 Dec 2017 16:09:11 +0000 (08:09 -0800)
commite19c623128ef07c778f5f587864361c1ff383695
treea555c61ff96823ac171d15cab6c7401ab1a07806
parent6bd876dcaa4403b30eedd5ebe66bfadcef1f1a0c
spirv: Convert the supported_extensions struct to spirv_options

This is a bit more general and lets us pass additional options into the
spirv_to_nir pass beyond what capabilities we support.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/amd/vulkan/radv_shader.c
src/compiler/spirv/nir_spirv.h
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_private.h
src/intel/vulkan/anv_pipeline.c