diff options
author | Rob Clark <[email protected]> | 2014-10-14 14:27:47 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2014-10-15 15:49:48 -0400 |
commit | d595987ea3d1706fecb9f6416031ec8b27c95a9e (patch) | |
tree | b82b1dc6c693884db8bdc3c43b2f9939b6a7a472 /doxygen/radeon_subset.doxy | |
parent | d5d80b37392c7f15c4fb39b6b1826230239930fd (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