[Mesa-dev] mesa/st: support lowering user-clip-planes automatically
erik.faye-lund at collabora.com
Thu Oct 17 15:39:01 UTC 2019
This is discussed in the merge request thread. Zink currently only support vertex and fragment shaders, so it's the only place this can occur. If someone wants to enable this for drivers that supports geometry or tesselation shaders, they would need to extend this code first. Unless I beat them to it, of course. I don't want to implement this blindly, which is why I left this out for now.
On October 17, 2019 5:09:36 PM GMT+02:00, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>Just saw your change
>. It looks like you assume that the UCPs will apply in the vertex
>stage, but given that we support GL compat profiles for GL 4.0+ in
>st/mesa, the UCPs actually apply to the same stage that clip distances
>are processed in -- might be TES or GS, depending on the pipeline.
>Perhaps there's some reason why this works anyways that I'm not
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mesa-dev