spirv: add interface for drivers to define support extensions.
authorDave Airlie <airlied@redhat.com>
Tue, 27 Dec 2016 23:27:14 +0000 (23:27 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 28 Dec 2016 22:43:17 +0000 (22:43 +0000)
commitde7dd4d621ca2654a1091457c514b50c50ba92dd
treeeecaeb3f9575343e66ed18f4ee827a8be6798212
parent464b23b1f289e8f9ede7c9d817c1678bbef0ad8d
spirv: add interface for drivers to define support extensions.

I expect over time the struct contents will change as all
drivers support stuff etc, but for now this should be a good
starting point.

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/compiler/spirv/nir_spirv.h
src/compiler/spirv/spirv2nir.c
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_private.h
src/intel/vulkan/anv_pipeline.c