summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi
Commit message (Collapse)AuthorAgeFilesLines
* tgsi/ureg: Improve immediate match & expand logic.Michal Krol2010-01-051-6/+10
| | | | Do not pollute immediates with unsuccessfull attempts to expand them.
* tgsi: Support signed/unsigned integer immediate types.Michal Krol2010-01-055-47/+215
|
* tgsi: Cleanup interpreter code for other existing integer opcodes.Michal Krol2010-01-051-116/+66
|
* 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: Implement new integer opcodes.Michal Krol2010-01-053-225/+413
| | | | | Update interpreter and ureg. Also, get rid of SHR -- it's actually an alias for ISHR.
* tgsi: Fix assert.Vinson Lee2010-01-041-1/+1
|
* Fix testAlan Hourihane2010-01-041-2/+2
|
* tgsi: Add missing semantic name in text parser.Igor Oliveira2010-01-011-0/+1
|
* gallium: Generate a single library for auxiliaries with Make too.José Fonseca2010-01-011-22/+0
|
* scons: Aggregate all tiny libraries in a single library.José Fonseca2010-01-011-23/+0
| | | | | Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
* Merge branch 'mesa_7_7_branch'Brian Paul2009-12-311-4/+4
|\ | | | | | | | | | | | | | | Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
| * tgsi/ureg: Silence uninitialized variable warnings.Vinson Lee2009-12-271-4/+4
| |
* | tgsi: Don't dump parenthesis for negation.José Fonseca2009-12-261-3/+1
| | | | | | | | | | It doesn't seem necessary, and more importantly, tgsi_parse doesn't know how to read them.
* | gallium: remove TGSI_SEMANTIC_VERTICESZack Rusin2009-12-252-2/+0
| | | | | | | | | | | | it's a leftover from an early version of geometry shading support. geometry shaders now encode the primitive size in the PROPERTY token and don't need special input with their size.
* | util: put vertices_per_primitive function in its proper locationZack Rusin2009-12-252-5/+4
| |
* | draw/tgsi: fix geometry shader input/output swizzlingZack Rusin2009-12-251-1/+9
| |
* | tgsi: dump the indices correctly when dealing with 2d arraysZack Rusin2009-12-251-20/+50
| |
* | tgsi: fix property parsing/buildingZack Rusin2009-12-252-5/+7
| |
* | tgsi: add missing support for two dimensional arrays in various placesZack Rusin2009-12-253-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 errorZack Rusin2009-12-251-1/+14
| |
* | gallium: add geometry shader support to galliumZack Rusin2009-12-254-9/+59
| |
* | Merge branch 'gallium-edgeflags'Roland Scheidegger2009-12-223-8/+14
|\ \ | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_draw.c
| * | gallium: store edgflag info in tgsi_shader_infoRoland Scheidegger2009-12-182-7/+12
| | | | | | | | | | | | provides easier access for drivers which may base fallback decision on this
| * | gallium: edgeflags change fixesRoland Scheidegger2009-12-161-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 Krol2009-12-221-0/+19
| | |
* | | tgsi/text: Don't use strncasecmp(), it breaks windows build.Michal Krol2009-12-151-2/+16
| | | | | | | | | | | | Also, break out of the for-loop when a matching property is found.
* | | tgsi: add properties and system value registerZack Rusin2009-12-1417-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 Krol2009-12-142-2/+33
|/ / | | | | | | Allows one to declare GS input registers.
* | tgsi: fix some off-by-one errors in shader length, instruction lengthBrian Paul2009-12-083-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 Krol2009-12-031-3/+1
| |
* | tgsi: fix ureg emit after version token changeKeith Whitwell2009-12-011-1/+1
| |
* | Merge commit 'origin/tgsi-simplify-ext'Keith Whitwell2009-12-0117-1172/+517
|\ \ | | | | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_vs.c
| * | tgsi: Remove tgsi_version token.Michal Krol2009-11-2711-72/+18
| | |
| * | tgsi: Fix token builder.Michal Krol2009-11-252-41/+2
| | |
| * | tgsi: Update raw token dumper after token definition changes.Michal Krol2009-11-251-116/+32
| | |
| * | tgsi: rename fields of tgsi_full_src_register to reduce verbosityKeith Whitwell2009-11-2412-210/+210
| | | | | | | | | | | | | | | | | | | | | SrcRegister -> Register SrcRegisterInd -> Indirect SrcRegisterDim -> Dimension SrcRegisterDimInd -> DimIndirect
| * | tgsi: rename fields of tgsi_full_dst_register to reduce verbosityKeith Whitwell2009-11-2411-98/+98
| | | | | | | | | | | | | | | DstRegister -> Register DstRegisterInd -> Indirect
| * | tgsi: rename fields of tgsi_full_declaration to reduce verbosityKeith Whitwell2009-11-2411-20/+20
| | | | | | | | | | | | DeclarationRange -> Range
| * | tgsi: rename fields of tgsi_full_instruction to avoid excessive verbosityKeith Whitwell2009-11-2411-105/+105
| | | | | | | | | | | | | | | | | | | | | | | | InstructionPredicate -> Predicate InstructionLabel -> Label InstructionTexture -> Texture FullSrcRegisters -> Src FullDstRegisters -> Dst
| * | tgsi: reduce repetition of structure name in its membersKeith Whitwell2009-11-248-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 functionsKeith Whitwell2009-11-242-27/+0
| | |
| * | tgsi: remove unused Flags member from full_instructionKeith Whitwell2009-11-242-3/+0
| | |
| * | gallium: simplify tgsi tokens furtherKeith Whitwell2009-11-2411-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 Krol2009-12-011-1/+1
| | |
* | | tgsi/exec: Fix orientation of DDY.Michal Krol2009-11-261-1/+1
| | |
* | | tgsi/exec: Force return from a subroutine at ENDSUB.Michal Krol2009-11-261-1/+27
| | |
* | | tgsi/ureg: Add forgotten goto in ureg_DECL_constant().Michal Krol2009-11-261-0/+1
|/ /
* | tgsi: Document Declaration Semantic token and FACE semantic name.Michal Krol2009-11-241-0/+32
| |
* | tgsi: Implement predicated instructions in exec.Michal Krol2009-11-242-5/+48
| |
* | tgsi: Add ureg_DECL_loop().Michal Krol2009-11-242-0/+25
| |