On Sunday, June 22, 2014 03:59:01 AM Marek Olšák wrote: > That's right. A uniform won't work with ARB_draw_indirect unless you > lower it to direct draws, which would be very bad if it was applied to > all drivers. > > Radeonsi indeed supports BaseVertex and BaseInstance as system values > in the vertex shader. Well, vertex fetching has to be done in the > vertex shader on that hardware, so the system values are kinda > required there. > > Marek
FWIW, I've thrown together some patches for i965 which make gl_BaseVertex available as a system value, which I think is the right thing to do. I've tested the indirect draw case, and it seems to work fine. basevertex-v5 of my tree. It needs cleaning up and testing, but the hard part is in place. It mostly reuses Ian's existing GLSL IR lowering pass, too. --Ken
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev