aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_tgsi_insn.c
Commit message (Collapse)AuthorAgeFilesLines
* svga: Emit a scalar rcp in shadow maps.José Fonseca2010-02-221-4/+4
| | | | Small improvement in Lightsmark 2008.
* svga: Don't emit zero writemasks.José Fonseca2010-02-221-28/+37
| | | | | | | | This fixes a regression with Lightsmark, where more compact TGSI from Mesa was causing a zero mask MOV to be emitted for shadow map compare, causing problems in some backends. Add a few more assertions to catch cases like this.
* svga: Silence uninitialized variable warnings.Vinson Lee2010-02-171-0/+6
|
* svga: Silence uninitialized variable warning.Vinson Lee2010-02-141-0/+1
|
* svga: fix TXD and TXL opcode translationKeith Whitwell2010-02-031-15/+105
|
* svga: deriv insns not valid in dynamic flow control eitherKeith Whitwell2010-02-031-3/+48
|
* svga: texture from lod zero inside dynamic branchingKeith Whitwell2010-02-031-13/+57
| | | | | | Texture derivatives are potentially undefined inside dynamic branches, so hardwire lod zero in this case. Treating all if/endif and loop constructs as dynamic branches.
* svga: better method for generating white fs color outputsKeith Whitwell2010-02-031-7/+27
|
* Remove TGSI_OPCODE_SHR, map existing usage to TGSI_OPCODE_ISHR.Michal Krol2010-01-051-1/+1
| | | | This is to differentiate it from its unsigned version, TGSI_OPCODE_USHR.
* tgsi: rename fields of tgsi_full_src_register to reduce verbosityKeith Whitwell2009-11-241-34/+34
| | | | | | | SrcRegister -> Register SrcRegisterInd -> Indirect SrcRegisterDim -> Dimension SrcRegisterDimInd -> DimIndirect
* tgsi: rename fields of tgsi_full_dst_register to reduce verbosityKeith Whitwell2009-11-241-6/+6
| | | | | DstRegister -> Register DstRegisterInd -> Indirect
* tgsi: rename fields of tgsi_full_instruction to avoid excessive verbosityKeith Whitwell2009-11-241-55/+55
| | | | | | | | InstructionPredicate -> Predicate InstructionLabel -> Label InstructionTexture -> Texture FullSrcRegisters -> Src FullDstRegisters -> Dst
* gallium: simplify tgsi tokens furtherKeith Whitwell2009-11-241-6/+6
| | | | | | | | | | | | | | | Drop anonymous 'Extended' fields, have every optional token named explicitly in its parent. Eg. there is now an Instruction.Label flag, etc. Drop destination modifiers and other functionality which cannot be generated by tgsi_ureg.c, which is now the primary way of creating shaders. Pull source modifiers into the source register token, drop the second negate flag. The source register token is now full - if we need to expand it, probably best to move all of the modifiers to a new token and have a single flag for it.
* svga: Add svga driverJakob Bornecrantz2009-11-171-0/+2716