Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tgsi: add missing support for two dimensional arrays in various places | Zack Rusin | 2009-12-25 | 3 | -176/+465 |
| | | | | | in particular asm text parsing and sanity checking were missing code to handle multi-dimensional arrays/geometry shaders | ||||
* | tgsi: make the tgsi assembly parser report line/column on error | Zack Rusin | 2009-12-25 | 1 | -1/+14 |
| | |||||
* | gallium: add geometry shader support to gallium | Zack Rusin | 2009-12-25 | 4 | -9/+59 |
| | |||||
* | Merge branch 'gallium-edgeflags' | Roland Scheidegger | 2009-12-22 | 3 | -8/+14 |
|\ | | | | | | | | | Conflicts: src/mesa/state_tracker/st_draw.c | ||||
| * | gallium: store edgflag info in tgsi_shader_info | Roland Scheidegger | 2009-12-18 | 2 | -7/+12 |
| | | | | | | | | provides easier access for drivers which may base fallback decision on this | ||||
| * | gallium: edgeflags change fixes | Roland Scheidegger | 2009-12-16 | 1 | -1/+2 |
| | | | | | | | | | | | | use correct number of vertex inputs fix not running pipeline in case of edgeflags changes to mesa to tgsi translation still very broken | ||||
* | | tgsi: Implement BREAKC in interpreter. | Michal Krol | 2009-12-22 | 1 | -0/+19 |
| | | |||||
* | | tgsi/text: Don't use strncasecmp(), it breaks windows build. | Michal Krol | 2009-12-15 | 1 | -2/+16 |
| | | | | | | | | Also, break out of the for-loop when a matching property is found. | ||||
* | | tgsi: add properties and system value register | Zack Rusin | 2009-12-14 | 17 | -11/+447 |
| | | | | | | | | | | | | adds support for properties to all parts of the tgsi framework, plus introduces a new register which will be used for system generated values. | ||||
* | | tgsi/ureg: Add ureg_DECL_gs_input(). | Michal Krol | 2009-12-14 | 2 | -2/+33 |
|/ | | | | Allows one to declare GS input registers. | ||||
* | tgsi: fix some off-by-one errors in shader length, instruction length | Brian Paul | 2009-12-08 | 3 | -5/+4 |
| | | | | | | | | | | The ureg and/or tgsi-simplification work introduced some inconsistencies between the ureg and traditional TGSI construction code. Now the tgsi_instruction::NrTokens field is consistant and the tgsi_header::BodySize field isn't off by one. Fixes bug 25455. | ||||
* | 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. |