summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40/nv40_fragprog.c
AgeCommit message (Collapse)Author
2009-07-22gallium: simplify tgsi_full_immediate structKeith Whitwell
Remove the need to have a pointer in this struct by just including the immediate data inline. Having a pointer in the struct introduces complications like needing to alloc/free the data pointed to, uncertainty about who owns the data, etc. There doesn't seem to be a need for it, and it is unlikely to make much difference plus or minus to performance. Added some asserts as we now will trip up on immediates with more than four elements. There were actually already quite a few such asserts, but the >4 case could be used in the future to specify indexable immediate ranges, such as lookup tables.
2009-06-05nouveau: remove unneeded code from ws, use pipe_buffer_ instead of ws->Ben Skeggs
2009-06-05nouveau: pass nouveau_bo instead of pipe_buffer to so_ callsBen Skeggs
2009-03-07nouveau: make stateobjs start off with refcount of 1Ben Skeggs
2009-03-04gallium: Unify reference counting.Michel Dänzer
The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create().
2008-08-14nv30/nv40: KIL/KILP swapped meaningsBen Skeggs
2008-08-07nouveau: fix buildBen Skeggs
2008-06-23nouveau: update for interface changes + hack around gallium x86_64 bustageBen Skeggs
2008-03-31nv40: mark fp dirty even when only consts updatedBen Skeggs
Fixes arbfplight "sticking".
2008-03-23nv40: fix fp depth writeBen Skeggs
2008-03-23nv40: remove some badness from fp temp/result allocationBen Skeggs
Should hopefully be OK now (on the fragprog size) for MRT. The hack from a commit 01cb2cd93efe7ad94d7fd36aa5a776c2e3ab4c7d is no longer needed.
2008-03-23nv40: catch fp extra-const cases where both const and immd have same idxBen Skeggs
2008-03-23nv40: fp: fix multiple refs to a single const withing an instructionBen Skeggs
2008-03-23nv40: workaround fp result.data[0] clobberageBen Skeggs
Temporary, the fp reg handling will get reworked at some point in the near future. But before that, there's a few bugs to find.
2008-03-21nv40: s/free/FREE/Ben Skeggs
2008-03-19nv40: "implement" noise opcodes in fragprogBen Skeggs
For the moment, we do what NVIDIA does and return 0 unconditionally. This isn't correct, but it's an implementation at least.
2008-03-17nv40: a few more fp opcodesBen Skeggs
2008-03-16nv40: simple swtnl path (half broken, but getting there)Ben Skeggs
2008-03-13nouveau: match interface changesBen Skeggs
2008-03-02nv40: nuke debugBen Skeggs
2008-02-29nv40: move "channel context" stuff into nv40_screenBen Skeggs
2008-02-25nv40: remove pipe_state struct now.Ben Skeggs
2008-02-22nv40: stateobj start out with 0 refcountBen Skeggs
2008-02-20nv40: keep track of generated context state vs current channel stateBen Skeggs
2008-02-18nv40: and vertprog..Ben Skeggs
2008-02-18nv40: get fragprog onto new state mechanismBen Skeggs
2008-02-16nouveau: match gallium code reorginisation.Ben Skeggs
That was... fun..