Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: How many 'remembered' verticed in GPU?

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2017
    Location
    SE Pennsylvania on 6 acre wooded hillside
    Posts
    10

    How many 'remembered' verticed in GPU?

    Is there a source anywhere which tells how many recently calculated vertices are kept in storage in a range of GPUs? I know there are some as I have demonstrated their effect, and have devised a scheme to sort of estimate how many are in my system by doing various intermediate transforms on indexed arrays. Still, I would like to know for a range of typical GPUs rather than just the one in my computer so I could depend on it.

    Am working on an animation scheme where meshing could be greatly improved and simplified if I could count on number being in 15-30 range.
    __________________________
    Back to this idea and edit:

    Results are very inconsistent. Seems too dependent on exact prior calculations. I've discarded my idea and going the hard way around.
    Last edited by Goofus43; 10-13-2017 at 12:09 PM. Reason: Concept impractical

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jan 2007
    Posts
    1,716
    Discussed here: https://www.khronos.org/opengl/wiki/...ransform_Cache

    Summary: You can expect 20+ but it is hardware-dependent.

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Jun 2013
    Posts
    2,476
    And also dependent upon the number of variables output from the vertex shader (the vertex cache is sized in bytes, not vertices). There's no mechanism to query the cache size directly, although it shouldn't be hard to determine it via profiling.

    If the vertex shader is particularly expensive, you can reduce the cost of cache misses by pre-processing the vertices using transform-feedback mode or a compute shader, then using a pass-through vertex shader during rendering.

Posting Permissions

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