On Wed, Jan 20, 2016 at 6:02 AM, Tapani Pälli <tapani.pa...@intel.com> wrote:
>> Unfortunately putting such a shader together is a bit of a pain, since
>> all the uniforms have to be used. I still really think you need to
>> build a heap. Or at least store a "first empty slot" so that you don't
>> repeat the iteration *every* time.
>
>
> Yeah, I agree "first empty slot" would be good addition and will already
> help a lot in problematic cases.

Actually it's still not so great, since you can have stupid situations
which won't fit into the first empty position. e.g. one empty
location, and a bunch of foo[2] things. That's why I like using a heap
:)

  -ilia
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to