Skip to content

spirv: Leave nir_function::impl NULL for prorotypes

Faith Ekstrand requested to merge gfxstrand/mesa:wip/spirv-proto-no-impl into master

Previously, when we had a prototype-only function in SPIR-V, we would compile it just fine and the function would have an impl that did nothing. This MR changes that so that the nir_function::impl is NULL to indicate a prototype-only function.

+@jenatali @karolherbst

Merge request reports