Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tgsi/ureg: Fix ureg_emit_src(). | Michal Krol | 2009-12-03 | 1 | -3/+1 |
| | |||||
* | tgsi: fix ureg emit after version token change | Keith Whitwell | 2009-12-01 | 1 | -1/+1 |
| | |||||
* | Merge commit 'origin/tgsi-simplify-ext' | Keith Whitwell | 2009-12-01 | 17 | -1172/+517 |
|\ | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_vs.c | ||||
| * | tgsi: Remove tgsi_version token. | Michal Krol | 2009-11-27 | 11 | -72/+18 |
| | | |||||
| * | tgsi: Fix token builder. | Michal Krol | 2009-11-25 | 2 | -41/+2 |
| | | |||||
| * | tgsi: Update raw token dumper after token definition changes. | Michal Krol | 2009-11-25 | 1 | -116/+32 |
| | | |||||
| * | tgsi: rename fields of tgsi_full_src_register to reduce verbosity | Keith Whitwell | 2009-11-24 | 12 | -210/+210 |
| | | | | | | | | | | | | | | SrcRegister -> Register SrcRegisterInd -> Indirect SrcRegisterDim -> Dimension SrcRegisterDimInd -> DimIndirect | ||||
| * | tgsi: rename fields of tgsi_full_dst_register to reduce verbosity | Keith Whitwell | 2009-11-24 | 11 | -98/+98 |
| | | | | | | | | | | DstRegister -> Register DstRegisterInd -> Indirect | ||||
| * | tgsi: rename fields of tgsi_full_declaration to reduce verbosity | Keith Whitwell | 2009-11-24 | 11 | -20/+20 |
| | | | | | | | | DeclarationRange -> Range | ||||
| * | tgsi: rename fields of tgsi_full_instruction to avoid excessive verbosity | Keith Whitwell | 2009-11-24 | 11 | -105/+105 |
| | | | | | | | | | | | | | | | | InstructionPredicate -> Predicate InstructionLabel -> Label InstructionTexture -> Texture FullSrcRegisters -> Src FullDstRegisters -> Dst | ||||
| * | tgsi: reduce repetition of structure name in its members | Keith Whitwell | 2009-11-24 | 8 | -38/+38 |
| | | | | | | | | | | Rename Semantic.SemanticName to Semantic.Name. Similar for SemanticIndex, and the members of the tgsi_version struct. | ||||
| * | tgsi: remove unnecessary full_token init and free functions | Keith Whitwell | 2009-11-24 | 2 | -27/+0 |
| | | |||||
| * | tgsi: remove unused Flags member from full_instruction | Keith Whitwell | 2009-11-24 | 2 | -3/+0 |
| | | |||||
| * | gallium: simplify tgsi tokens further | Keith Whitwell | 2009-11-24 | 11 | -574/+126 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | tgsi/sanity: Up MAX_REGISTERS to 1024. | Michal Krol | 2009-12-01 | 1 | -1/+1 |
| | | |||||
* | | tgsi/exec: Fix orientation of DDY. | Michal Krol | 2009-11-26 | 1 | -1/+1 |
| | | |||||
* | | tgsi/exec: Force return from a subroutine at ENDSUB. | Michal Krol | 2009-11-26 | 1 | -1/+27 |
| | | |||||
* | | tgsi/ureg: Add forgotten goto in ureg_DECL_constant(). | Michal Krol | 2009-11-26 | 1 | -0/+1 |
|/ | |||||
* | tgsi: Document Declaration Semantic token and FACE semantic name. | Michal Krol | 2009-11-24 | 1 | -0/+32 |
| | |||||
* | tgsi: Implement predicated instructions in exec. | Michal Krol | 2009-11-24 | 2 | -5/+48 |
| | |||||
* | tgsi: Add ureg_DECL_loop(). | Michal Krol | 2009-11-24 | 2 | -0/+25 |
| | |||||
* | tgsi: Account for gallium shader token representation changes. | Michal Krol | 2009-11-24 | 5 | -132/+106 |
| | |||||
* | tgsi: Clamp the source argument in micro_exp2() to avoid Inf. | Michal Krol | 2009-11-23 | 1 | -0/+18 |
| | |||||
* | tgsi: Remove code that actually had no effect. | Michal Krol | 2009-11-23 | 1 | -4/+0 |
| | |||||
* | tgsi: Fix POSITION and FACE fragment shader inputs. | Michal Krol | 2009-11-23 | 2 | -36/+42 |
| | |||||
* | tgsi: Bring BGNFOR/ENDFOR implementation up to spec. | Michal Krol | 2009-11-23 | 2 | -13/+35 |
| | |||||
* | tgsi: Fake TXD implementation in exec. | Michal Krol | 2009-11-23 | 1 | -1/+59 |
| | |||||
* | tgsi: Add execution debugging facilities to exec. | Michal Krol | 2009-11-23 | 1 | -4/+63 |
| | |||||
* | tgsi: Provide ultimate solution for SOA dependencies in exec. | Michal Krol | 2009-11-19 | 1 | -162/+189 |
| | | | | Reorder STOREs in such a way that they appear after the last FETCH. | ||||
* | tgsi/exec: Exit early on error. | Michal Krol | 2009-11-10 | 1 | -1/+1 |
| | |||||
* | tgsi/ureg: Simplify logic in tokens_expand(). | Michal Krol | 2009-11-10 | 1 | -9/+6 |
| | |||||
* | tgsi/ureg: Allow for multiple extended instruction tokens. | Michal Krol | 2009-11-04 | 2 | -75/+94 |
| | | | | | For example, we would like to have a predicate and texture token in one instruction to do predicated texture sampling. | ||||
* | tgsi: Up tgsi_exec's control flow nesting to 32. | Michal Krol | 2009-11-03 | 1 | -3/+3 |
| | |||||
* | tgsi/ureg: Add negate and swizzle for predicates. | Michal Krol | 2009-11-02 | 2 | -22/+208 |
| | |||||
* | tgsi/ureg: Update for gallium interface changes. | Michal Krol | 2009-11-02 | 2 | -22/+69 |
| | |||||
* | tgsi: Update for gallium interface changes. | Michal Krol | 2009-11-02 | 10 | -542/+137 |
| | |||||
* | gallium: remove extended negate also, and also the ExtSwz token | Keith Whitwell | 2009-10-23 | 8 | -202/+2 |
| | | | | | | 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. | ||||
* | gallium: remove the swizzling parts of ExtSwizzle | Keith Whitwell | 2009-10-23 | 13 | -262/+38 |
| | | | | | | | | | 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. | ||||
* | gallium: remove noise opcodes | Keith Whitwell | 2009-10-23 | 3 | -24/+4 |
| | | | | | | | | | | | 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. | ||||
* | Merge branch 'mesa_7_6_branch' | Brian Paul | 2009-09-24 | 1 | -5/+5 |
|\ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/r600/r700_assembler.c src/mesa/drivers/dri/r600/r700_chip.c src/mesa/drivers/dri/r600/r700_render.c src/mesa/drivers/dri/r600/r700_vertprog.c src/mesa/drivers/dri/r600/r700_vertprog.h src/mesa/drivers/dri/radeon/radeon_span.c | ||||
| * | tgsi/sse: Pass the lodbias, not zero. More comments. | Brian Paul | 2009-09-24 | 1 | -5/+5 |
| | | | | | | | | This fixes the glean/glsl1 "texture2D(), with bias" test when using SSE. | ||||
* | | tgsi/sse: remove old comments | Brian Paul | 2009-09-24 | 1 | -8/+0 |
| | | |||||
* | | tgsi/sse: implement SEQ, SGT, SLE, SNE | Brian Paul | 2009-09-24 | 1 | -4/+4 |
| | | |||||
* | | tgsi: Scan input interpolators, too. | Michal Krol | 2009-09-17 | 2 | -0/+2 |
| | | |||||
* | | tgsi: handle some src/dst aliasing in tgsi_sse2.c | Keith Whitwell | 2009-09-13 | 1 | -8/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | Src/Dst aliasing (aka SOA dependencies) requires some care to ensure intermediate results do not overwrite yet-to-be read source registers. This change ensures that MOV/SWZ handle this correctly, which is poor but no worse than the current tgsi_exec.c path. Remove the fallback as there is nothing to be gained correctness-wise between the two implementations now. Fixing this properly looks like a bit of work in this code, but might be easily achieved by sending destination writes to temporary storage. | ||||
* | | tgsi: implement saturation | Keith Whitwell | 2009-09-12 | 1 | -17/+26 |
| | | | | | | | | Fix recent performance regression. | ||||
* | | tgsi: add missing implementation of constant decl change | Keith Whitwell | 2009-09-12 | 1 | -8/+61 |
| | | |||||
* | | ureg: add a mechanism to get the built tokens rather than a full shader | Keith Whitwell | 2009-09-12 | 2 | -0/+30 |
| | | | | | | | | | | | | Previously ureg would always call the driver's create-shader function. This allows the caller the opportunity to hold onto the tokens if it needs to reuse them, eg. to create an internal draw shader. | ||||
* | | ureg: add generic emitters for tex and branch instructions | Keith Whitwell | 2009-09-12 | 2 | -11/+80 |
| | | | | | | | | Couldn't previously emit these except by calling the opcode-specific helper. | ||||
* | | tgsi/ureg: give ureg_DECL_constant an explicit index parameter | Keith Whitwell | 2009-09-12 | 2 | -2/+6 |
| | | | | | | | | | | Avoid the need to emit all constant declarations in order. Makes referring to a specific constant in the constant buffer much easier. |