summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/nouveau/nv30_fragprog.c
AgeCommit message (Collapse)Author
2007-11-01nouveau: ppc, swap fragment programs on big endian systems.Dave Airlie
Thanks to the PS3 RSX project for figuring this out.
2007-02-06nouveau: a couple of NV3x fixesBen Skeggs
2007-02-06nouveau: new bufferobj code.Ben Skeggs
The old code suffered from a number of issues, the most severe being that with the Mesa VBO merge even swtcl used the driver's bufferobj interface. On most VBO types (or non-AGP cards) the buffer ended up in vram, and killed swtcl performance greatly. All bufferobj's start in system memory now, until they get referenced as a "real" VBO. The other big change is that only potentially "damaged" areas are uploaded/downloaded to/from the hardware.
2007-01-30nouveau: unhardcode some more NV30TCL_FP_CONTROL valuesBen 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
2006-12-27nouveau: Use bufferobj interface for fragment program uploadsBen Skeggs
2006-12-24nouveau: Kill some compile warnings.Ben Skeggs
2006-12-08Some work on buffer handling, most likely not entirely correct andBen Skeggs
incomplete. But, it works well enough that windows can be moved/resized.
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..