summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/nouveau/nouveau_shader_2.c
AgeCommit message (Collapse)Author
2008-07-14nouveau: say goodbye to the old DRI driver...Stephane Marchesin
2007-03-21merge from masterBrian
2007-03-20nouveau: NVSDBG macroBen Skeggs
2007-02-23Update DRI drivers for new glsl compiler.Brian
Mostly: - update #includes - update STATE_* token code
2007-01-25nouveau: add result scaling to shader backend, use it in RSQ emul for NV40.Ben Skeggs
2007-01-23nouveau: allow for card-specific shader infos to be keptBen Skeggs
NV30/40 fragprog: build FP_CONTROL per-shader, still some hardcoded bits for this reg.. It looks like it has to do with the number of temps used, but needs more looking at. NV40 vtxprog : build VP_IN_REG/VP_OUT_REG during shader compile
2007-01-23nouveau: reindent shader pass0/pass2Ben Skeggs
if this gets rejected by the commit list, just ignore it.. nothing interesting to see here :)
2007-01-23nouveau: start converting shaders into a tree format again..Ben Skeggs
No branching stuff implemented yet. Works enough for gears, probably other stuff broken.
2007-01-21nouveau: kill off shader pass1.Ben Skeggs
It sucks, and we have someone who can do a much better job than I can starting work on it soon. alloc_temp/free_temp is left in pass2 to workaround fragprog temps/outputs overlapping, but this all belongs in the optimiser.
2006-12-26nouveau: Make use of NOUVEAU_DEBUG for shader disasmBen Skeggs
2006-11-27- Add InitInstruction to hw shader backend, and remove SetUnusedSource.Ben Skeggs
- NV30FP/NV40VP: Clear any fields before we OR new values into them - NV40VP: It seems that it might be possible to write a result reg at the same time a temp is written. In InitInstruction, initialise OUT_DEST to OUT_DEST_TEMP so result regs don't get clobbered by default.
2006-11-26Fix progs/fp/tri-xpdBen Skeggs
Fragprog consts are inlined, so make sure we update *all* occurances of a param :)
2006-11-25Incomplete shader stuff, should mostly work for NV40. Other cards, not soBen Skeggs
much..