Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Transform Cache

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2017

    Transform Cache

    I'm not sure if this has changed, but some older hardware at least have so called post-transform vertex caches.
    What steps in OpenGL does one have to take to ensure maximum utilization of these?

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Jun 2013
    The main factors for optimising vertex cache use are to minimise the number of vertex shader outputs (so you can fit more vertices in the cache), and to order primitives so that primitives sharing a vertex are close together in terms of their position in the element array (to increase the likelihood of a vertex being in the cache).

    Additionally, the less expensive the vertex shader, the less it matters whether a vertex is cached.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts