[Mesa-dev] [PATCH 2/2] radeonsi: pad IBs to a multiple of 8 DWs

Patrick Baggett baggett.patrick at gmail.com
Fri Sep 6 08:29:57 PDT 2013


> Any reason for this complicated logic, instead of simply:
>
>         while (cs->cdw & 0x7)
>                 cs->buf[cs->cdw++] = 0x80000000;
>
>
Ah, that is eloquently terse; I'm going to have to remember that.

Patrick


> Earthling Michel Dänzer           |                   http://www.amd.com
> Libre software enthusiast         |          Debian, X and DRI developer
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130906/736ff514/attachment.html>


More information about the mesa-dev mailing list