[Mesa-dev] [PATCH 01/30] glsl: Refactor handling of gl_ClipDistance/gl_ClipVertex linkage rules for GS.

Paul Berry stereotype441 at gmail.com
Wed Aug 21 07:20:37 PDT 2013


On 20 August 2013 13:27, Chris Forbes <chrisf at ijw.co.nz> wrote:

> Ken,
>
> I think the big win from using pass-by-pointer is that you can see
> what's happening at the call site. References' value syntax and
> pointer semantics is a weird mix.
>
> But that might just be the C programmer talking, as you suggested.
>
> -- Chris
>

Yeah, I've mostly stopped using non-const pass-by-reference for exactly
this reason.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130821/c3ebdeb3/attachment.html>


More information about the mesa-dev mailing list