[Mesa-dev] Mesa (master): mesa/marshal: add custom BufferData/ BufferSubData marshalling

Gregory Hainaut gregory.hainaut at gmail.com
Mon Mar 27 13:52:24 UTC 2017


>
> >>* +   variable_data += size;
> *>>* And here, and below.
> *
> This code is mostly a copy from the generated code, which adds these for
> some reason (possibly a bug in generation, but it may be used by other
> functions and just excess here).
>
>
Hello,

As I already looked into the python last week, it is due to loop unrolling
behavior to prepare next variable
parameter. Of course, most of the time, there is only a single variable
parameter so it is useless. Actually
it is useless for last variable parameter.


Cheers,
Gregory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170327/1bfe69f8/attachment.html>


More information about the mesa-dev mailing list