summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv30/nv30_fragprog.c
AgeCommit message (Collapse)Author
2009-11-24tgsi: reduce repetition of structure name in its membersKeith Whitwell
Rename Semantic.SemanticName to Semantic.Name. Similar for SemanticIndex, and the members of the tgsi_version struct.
2009-11-24gallium: try and update r300 and nv drivers for tgsi changesKeith Whitwell
It would be nice if these drivers built under the linux-debug header so that these types of interface changes can be minimally propogated into those drivers by people without the hardware. They don't have to generate a working driver -- though a command-dumping winsys would be an excellent for regression checking.
2009-11-17nouveau: nv30: Add missing include to fix warningPatrice Mandin
2009-10-23gallium: remove extended negate also, and also the ExtSwz tokenKeith Whitwell
Likewise, the extended negate functionality hasn't been used since mesa switched to using tgsi_ureg to build programs, and has been translating the SWZ opcode internally to a single MAD.
2009-10-23gallium: remove the swizzling parts of ExtSwizzleKeith Whitwell
These haven't been used by the mesa state tracker since the conversion to tgsi_ureg, and it seems that none of the other state trackers are using it either. This helps simplify one of the biggest suprises when starting off with TGSI shaders.
2009-10-23gallium: remove noise opcodesKeith Whitwell
Provide a dummy implementation in the GL state tracker (move 0.5 to the destination regs). At some point, a motivated person could add a better implementation of noise. Currently not even the nvidia binary drivers do anything more than this. In any case, the place to do this is in the GL state tracker, not the poor driver.
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-31nv30: set fp samplers with fragprog generationPatrice Mandin
2008-08-18nv30: add some opcodes.Stephane Marchesin
2008-08-14nv30/nv40: KIL/KILP swapped meaningsBen Skeggs
2008-08-07nouveau: fix buildBen Skeggs
2008-07-12nv30: was setting wrong registerPatrice Mandin
2008-07-12nv30: Emit fragment program using state objectsPatrice Mandin
2008-07-11nv30: Move constant buffers out of vert/frag prog structuresPatrice Mandin
2008-07-11nv30: split fragprog_upload from fragprog_bindPatrice Mandin
2008-07-11nv30: split fragprog_prepare from fragprog_translatePatrice Mandin
2008-07-08nv30: use native instructions.Stephane Marchesin
2008-06-23nouveau: update for interface changes + hack around gallium x86_64 bustageBen Skeggs
2008-03-30nv30: use FREE macroPatrice Mandin
2008-03-13nouveau: match interface changesBen Skeggs
2008-03-11nv30: silence some warningsPatrice Mandin
2008-02-16nouveau: match gallium code reorginisation.Ben Skeggs
That was... fun..