Here's a series to pack our binding tables so that you (for example) don't
waste BRW_MAX_DRAWBUFFERS-1 indices in your simple texturing shaders.

I think it cleans up the code, though the net LOC change is approximately
0.  Performance data for GLB2.7:

IVB: No SSPD (n=754)
gm45: -0.0323403% +/- 0.0204702% (n=140)

So this is an incredibly minor hit (which was a surprise to me), but I'd
be willing to do it for the sanity gain of not having the SURF_INDEX
macros any more.

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to