summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_program.c
AgeCommit message (Collapse)Author
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().
2009-02-05nv50: stop using nouveau_push.h, it's evilBen Skeggs
2009-02-02gallium: remove pipe_buffer from surfacesZack Rusin
this change disassociates, at least from the driver perspective, the surface from buffer. surfaces are technically now views on the textures so make it so by hiding the buffer in the internals of textures.
2009-01-13nv50: change some magic reg, makes more things workBen Skeggs
No real idea what this does.. but a lot of things that misrendered and made the GPU throw a DATA_ERROR now work.. I'm wondering what side-effects we'll see from this :)
2009-01-13nv50: implement KIL enough for progs/fp/kil to workBen Skeggs
2009-01-12nv50: disable shader debugBen Skeggs
2009-01-06nv50: fill image unit index in TEX varientsBen Skeggs
2009-01-06nv50: fix crash in nv50_program_destroyBen Skeggs
2009-01-06nv50: add TXP to TEX case.. not correct, but anyway..Ben Skeggs
2009-01-06nv50: indentation for TEX is a little overenthusiasticBen Skeggs
2009-01-06nv50: ensure we actually get contiguous regs for TEX insn.Ben Skeggs
Still many more horrible things to fix here...
2008-08-07nouveau: fix buildBen Skeggs
2008-07-11nv50: add some texture formatsBen Skeggs
2008-07-11nv50: add license headers to .c filesBen Skeggs
2008-07-11nv50: more "abuse" by using libc malloc etc..Ben Skeggs
2008-06-29nv50: fixes after rebase + commits note on the code that was just pushed.Ben Skeggs
OK, seems a lot of people have been getting the idea that nouveau is dying lately - I decided to commit some of the work I've been doing lately to prove them wrong :) Progress on my side is slow due to lack of time mainly, but I'm still around. Firstly, don't even bother trying to use gallium on G8x/G9x yet, it won't work. I've deliberately left all the necessary winsys changes out of the commits for a very good reason - I don't know what we're going to need from the DRM exactly yet and don't want to be continually breaking interfaces as I discover additional requirements. On my side, I think I've gone through about 3 different DRM interface changes, and have just discovered that I may need more yet. It'd be very annoying for everyone who uses nouveau to keep things in sync. Once I've got it sorted - I'll commit a lot of cool stuff. Stay tuned. Also, don't look at the shader code.. it's horribly nasty and full of hacks, I used it as an opportunity to learn G8x GPU programs at the same time. New semi-decent code is in works, and will follow at some point. :)
2008-06-29nv50: whoopsBen Skeggs
2008-06-29nv50: remove some debugBen Skeggs
2008-06-29nv50: simplify emit_interp a bitBen Skeggs
2008-06-29nv50: some people are just born stupid.. really..Ben Skeggs
2008-06-29nv50: make TEX a halfieBen Skeggs
2008-06-29nv50: separate state validation and upload, similar to nv40Ben Skeggs
2008-06-29nv50: hack of a TEX opcodeBen Skeggs
2008-06-29nv50: hacks for stuff I don't really get yetBen Skeggs
2008-06-29nv50: abuse constbuf upload for program uploadBen Skeggs
2008-06-29nv50: a couple more bits'n'piecesBen Skeggs
2008-06-29nv50: disable inline IMMD for now, IMMD+pred == BANG!Ben Skeggs
fixes progs/fp/lit.txt
2008-06-29nv50: simplify interp crap a bit...Ben Skeggs
hopefully there wasn't a good reason I went the route I did.. can't recall..
2008-06-29nv50: do tsc/tic upload + stub out shader TEX stuffBen Skeggs
2008-06-29nv50: comment on a so-far unseen bugBen Skeggs
2008-06-29nv50: valgrind complaintBen Skeggs
2008-06-29nv50: remove some cruft, don't upload program unless really neededBen Skeggs
2008-06-29nv50: more efficient const upload + fixes (fp/* works now!)Ben Skeggs
2008-06-29nv50: use constbuf segment 0 for everything - I can't make the others work..Ben Skeggs
2008-06-29nv50: allow relocating a shader's constants at upload timeBen Skeggs
2008-06-29nv50: carry instructions around in nv50_program_exec, not a flat arrayBen Skeggs
2008-06-29nv50: rename nv50_state.h to nv50_program.hBen Skeggs
2008-06-29nv50: move magics take 2Ben Skeggs
2008-06-29Revert "nv50: move some magics"Ben Skeggs
This reverts commit 0a38de30429d3075fc6dfc9ff3729c5ca11f0c2f.
2008-06-29nv50: move some magicsBen Skeggs
2008-06-29nv50: various fixes + SCSBen Skeggs
2008-06-29nv50: LRPBen Skeggs
2008-06-29nv50: quick hack so progs/fp/fp-tri works for the momentBen Skeggs
2008-06-29nv50: fix SGE/SLT when sources need swappingBen Skeggs
2008-06-29nv50: support the other TGSI_UTIL_SIGN modesBen Skeggs
2008-06-29nv50: note some things discovered during renouveau sessionBen Skeggs
2008-06-29nv50: use emit_flop() instead of building RCP manually on interpBen Skeggs
2008-06-29nv50: remove NV50_PROG_{VERTEX,FRAGMENT}Ben Skeggs
2008-06-29nv50: delayed write of fragprog result regs until end of programBen Skeggs