summaryrefslogtreecommitdiffstats
path: root/doxygen/radeon_subset.doxy
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2014-10-14 14:27:47 -0400
committerRob Clark <[email protected]>2014-10-15 15:49:48 -0400
commitd595987ea3d1706fecb9f6416031ec8b27c95a9e (patch)
treeb82b1dc6c693884db8bdc3c43b2f9939b6a7a472 /doxygen/radeon_subset.doxy
parentd5d80b37392c7f15c4fb39b6b1826230239930fd (diff)
freedreno/a3xx: refactor/optimize emit
Because we reuse various bits of emit code (for state/vertex/prog/etc) for both regular draws and internal draws (gmem<->mem, clear, etc), the number of parameters getting passed around has been growing. Refactor to group these into fd3_emit. This simplifies fxn signatures, avoids passing around shader key on the stack, etc. It also gives us a nice place to cache shader-variant lookup to avoid looking up shader variants multiple times per draw (without having to *also* pass them around as fxn args everywhere). Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'doxygen/radeon_subset.doxy')
0 files changed, 0 insertions, 0 deletions