summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvfx/nvfx_miptree.c
AgeCommit message (Collapse)Author
2010-03-23nvfx: stop incessantly spewing debug messages on the terminalLuca Barbieri
Currently we are continuously spewing messages about these variables since we call debug_get_bool_option everytime we want to check their value. This is annoying, slows things down due to terminal rerendering and obscures useful messages. This patch only calls debug_get_bool_option once and caches the result in a static variable.
2010-03-15nvfx: move nv04_surface_2d.c into nvfx directoryLuca Barbieri
It is only used on pre-nv50 and nvfx is the only Gallium pre-nv50 driver.
2010-03-15nv30, nv40: unify nv[34]0_miptree.cLuca Barbieri
The only difference between nv30 and nv40 is that nv30 allowed swizzling for more texture types. This patch preserves the existing behavior, using conditional code. Note however that this does not make sense, since all texture types can be swizzled on nv40 and probably on nv30 too. However, the handling of swizzled surfaces in the current 2D code is partially broken, so it's best not to touch this. A whole rewrite of the 2D code will be submitted, which will solve this problem.