nvc0: expose spirv support
authorKarol Herbst <kherbst@redhat.com>
Fri, 10 May 2019 07:28:15 +0000 (09:28 +0200)
committerKarol Herbst <karolherbst@gmail.com>
Sat, 21 Sep 2019 08:28:32 +0000 (08:28 +0000)
commit7955fabcf89c7265f7f4244e46c5bcb83b9687fa
treeb803fb6496b9b371a33c3cfce1835c9c84740f73
parentdeb04adf2ae605a017d7ce4e81f57db679567dfa
nvc0: expose spirv support

required for OpenCL

v2: adjust to changes in previous commits
v3: properly convert to NIR in nvc0_cp_state_create

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Pierre Moreau <pierre.morrow@free.fr> (v1)
src/gallium/drivers/nouveau/nouveau_screen.c
src/gallium/drivers/nouveau/nouveau_screen.h
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
src/gallium/drivers/nouveau/nvc0/nvc0_state.c