[Mesa-dev] [RFC] [PATCH 0/4] Add frequency declaration for vertex elements

Luca Barbieri luca at luca-barbieri.com
Mon Aug 16 13:53:58 PDT 2010


> IIRC, the vertex fetch constants for r6xx+ accept 0 stride.

But does the hardware fetch the same value repeatedly, wasting memory
bandwidth, or is it smart enough to fetch it once and store it?
(question applies to both r300-r500 and r600-eg)

In other words, is it necessary to rewrite shaders and pass constant
elements in constant buffers for optimal performance, or are there
other ways?


More information about the mesa-dev mailing list