spirv: get the correct type for function returns.
authorDave Airlie <airlied@redhat.com>
Tue, 19 Nov 2019 22:33:10 +0000 (08:33 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 21 Nov 2019 18:37:25 +0000 (04:37 +1000)
commit5375c302347396666aa325bf67fbf7b972f7aca2
treebdb78ce92193a33fa2f260cfc502a1619585de83
parentb62a925ad17abb5816764602166334493858cfe7
spirv: get the correct type for function returns.

This needs to be derived from the address format, not always 1/32.

Suggested by Jason

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/spirv/vtn_cfg.c