summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40/nv40_vertprog.c
AgeCommit message (Collapse)Author
2010-02-02gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca
2010-01-05nouveau: rewrite nouveau_stateobj to use BEGIN_RING properlyMaarten Maathuis
- The previous solution was hacky and didn't do subchannel autobinding. - The beheaviour should match what libdrm_nouveau does closely. - The solution remains statically sized, but when debugging is on it will check for abuse. Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
2010-01-05nouveau: kill nouveau_push.h and use libdrm versions of BEGIN_RINGs, etcMarcin Slusarz
2009-12-19gallium: fix up drivers for edgeflag changesRoland Scheidegger
several drivers which chose to ignore edgeflags might require some more work, while edgeflags never worked there they might now crash.
2009-11-24tgsi: rename fields of tgsi_full_src_register to reduce verbosityKeith Whitwell
SrcRegister -> Register SrcRegisterInd -> Indirect SrcRegisterDim -> Dimension SrcRegisterDimInd -> DimIndirect
2009-11-24tgsi: rename fields of tgsi_full_dst_register to reduce verbosityKeith Whitwell
DstRegister -> Register DstRegisterInd -> Indirect
2009-11-24tgsi: rename fields of tgsi_full_declaration to reduce verbosityKeith Whitwell
DeclarationRange -> Range
2009-11-24tgsi: rename fields of tgsi_full_instruction to avoid excessive verbosityKeith Whitwell
InstructionPredicate -> Predicate InstructionLabel -> Label InstructionTexture -> Texture FullSrcRegisters -> Src FullDstRegisters -> Dst
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-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-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: call notifier/grobj etc funcs directlyBen Skeggs
libdrm_nouveau is linked with the winsys, there's no good reason to do all this through yet another layer.
2009-03-07nouveau: make stateobjs start off with refcount of 1Ben Skeggs
2009-02-10nv40: Fix build -- rename Size to NrTokens.Michal Krol
2008-12-16nv40: apply ABS modifier to RSQ source in vpBen Skeggs
Gallium used to do this for us :)
2008-08-07nouveau: fix buildBen Skeggs
2008-06-23nouveau: update for interface changes + hack around gallium x86_64 bustageBen Skeggs
2008-05-30nv40: a couple of memory leaksBen Skeggs
2008-04-07nv40: implement user clip planesBen Skeggs
It turns out the user planes handed to the driver are already in clip space. Hence, we no longer need to transform incoming vertices before computing the clip distance, and no longer need to change the interface provided by gallium. Yay :) The clip state change handling could be better, but this works.
2008-03-31nv40: fix slight thinkoBen Skeggs
2008-03-31nv40: support vp clip distance regs, unused currently.Ben Skeggs
2008-03-30nv40: vp 1/0/- swzBen Skeggs
2008-03-30nv40: vp const/immd fixBen Skeggs
2008-03-23nv40: vp reg changes similar to recent fp changesBen Skeggs
2008-03-21nv40: s/free/FREE/Ben Skeggs
2008-03-16nv40: simple swtnl path (half broken, but getting there)Ben Skeggs
2008-03-13nouveau: match interface changesBen 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-16nouveau: match gallium code reorginisation.Ben Skeggs
That was... fun..