Commit Graph

24 Commits

Author SHA1 Message Date
Zack Rusin
1c04731b87 gallium: fix the front face semantics
mesa allocates both frontface and pointcoord registers within the fog
coordinate register, by using swizzling. to make it cleaner and easier
for drivers we want each of them in its own register. so when doing
compilation from the mesa IR to tgsi allocate new registers for both
and add new semantics to the respective declarations.
2009-07-01 10:45:55 -04:00
Michal Krol
fb88908f5c tgsi: Consider INDEX, NEGATE, MULTIPLYMATRIX opcodes for removal. 2009-03-10 10:27:24 +01:00
Michal Krol
bf3930453c gallium: Rename Size member of TGSI token to NrTokens.
Driver writers often got confused and assumed Size to be
the number of immediate values in Immediate declaration.
2009-02-10 15:12:34 +01:00
Brian Paul
868c607c17 tgsi: doxygen comments 2008-11-24 13:11:05 -07:00
Brian Paul
434e255eae tgsi: add tgsi_declaration fields for centroid sampling, invariant optimization 2008-11-24 13:11:05 -07:00
José Fonseca
984a7c4e9c gallium: Fix doxygen comments. 2008-09-19 10:40:42 +09:00
Michal Krol
146a0fba00 gallium: Add note about vs_2_0 EXPP mapping. 2008-08-19 15:32:09 +02:00
Michal Krol
235981d871 gallium: Remove TGSI_CC_UN. 2008-08-18 17:49:01 +02:00
Michal Krol
9804ab9acc gallium: Make a note that OPCODE_KIL is a conditional kill.
Map OPCODE_TEXKILL to OPCODE_KIL.
2008-08-13 09:15:27 +02:00
Michal Krol
f5c51ebd2a tgsi: Parse destination operand modulate modifier. 2008-07-13 15:23:14 +02:00
Michal Krol
3d5dcc2203 tgsi: Parse texture instructions correctly. 2008-07-13 13:17:41 +02:00
Michal Krol
bd3b47590e tgsi: Remove depricated ATTRIB interpolate mode. 2008-07-13 13:17:30 +02:00
Michal Krol
837d49a84e gallium: The SWZ opcode no longer aliases MOV.
Also, when the extended swizzle token is used, the simple swizzle
and negate are set to X,Y,Z,W and FALSE, respectively.
2008-06-02 11:34:56 +02:00
Michal Krol
4e33edfd06 gallium: Refactor TGSI decalaration tokens.
* Incorporate declaration_interpolation into declaration itself.
* Remove declaration_mask -- always use declaration_range.
2008-05-31 18:56:20 +02:00
Michal Krol
bcb454e7a6 tgsi: Drop pre-ps_2_0 opcodes. 2008-03-13 18:12:36 +01:00
Michal Krol
78ddfbd130 tgsi: Remove OPCODE_TEXCOORD, OPCODE_TEXCRD aliases. 2008-03-13 13:00:44 +01:00
Michal Krol
ba75e82b6e tgsi: Remove ExtDivide field from existence. Implement OPCODE_TXP. 2008-03-12 16:41:25 +01:00
Michal Krol
70ae7f09c7 tgsi: Introduce OPCODE_TXP. Depricate ExdDivide field. 2008-03-12 14:55:18 +01:00
Michal Krol
130b315454 tgsi: Map OPCODE_TEXKILL to OPCODE_KILP. 2008-03-11 23:22:34 +01:00
Zack Rusin
e884c7ed9a start implementing start of bultins 2008-03-01 15:28:00 -05:00
José Fonseca
94c73d1bb9 gallium: Remove // comments. 2008-02-27 16:23:50 +09:00
Brian
35ca45daba gallium: added TGSI_FILE_COUNT 2008-02-23 16:15:54 -07:00
Keith Whitwell
4339744c16 [PATCH] gallium: include p_compiler.h for boolean defn 2008-02-21 19:17:27 +00:00
José Fonseca
b642730be9 Code reorganization: move files into their places.
This is in a separate commit to ensure renames are properly preserved.
2008-02-15 17:45:40 +09:00