973bff335f
In order to get the semantics right, we need to know how many of the clip/ cull fields are designated for which purpose. In the case of a shader that can receive these fields as both input and output, the shader_info property is reserved to store the output info. We could add a dedicated input field to shader_info, but since it'd probably only be useful for us, just send it through a side channel during shader linking. Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Bill Kristiansen <billkris@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14399>