summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement else ops.Zack Rusin2007-10-253-2/+18
|
* set vcache.referenced bit alwayskeithw2007-10-251-13/+5
|
* Make branching work :) Simply allow output variables as validZack Rusin2007-10-243-2/+31
| | | | operand inputs when they've been assigned already.
* Simplify branch handling. Prepare for proper decleration extraction.Zack Rusin2007-10-244-70/+38
|
* Fix glDrawElements + VBO rendering when ptr/offset is not zero.Brian2007-10-241-2/+5
| | | | | | | When an index VBO is bound, glDrawElement's indices pointer is really an offset into the element buffer. Add that offset to the prims[i].start value before calling pipe->draw_elements(). Fixes vbo.c conform test.
* Revert "Undo indexOffset change (I think, git???)"Brian2007-10-246-18/+12
| | | | This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb.
* Undo indexOffset change (I think, git???)Brian2007-10-246-12/+18
|
* add to gitBrian2007-10-242-0/+109
|
* Implement gl_PointCoord attribute for GLSL fragment shaders.Brian2007-10-246-53/+85
| | | | Contains the normalized fragment position within a point sprite.
* print CAL labelBrian2007-10-241-0/+1
|
* fix bug in RET codeBrian2007-10-241-0/+1
|
* better debug outputBrian2007-10-241-1/+5
|
* a bit more work for optimizing clears in tile cache (not enabled yet)Brian2007-10-244-28/+115
|
* flush pipe in draw_stencil_pixels()Brian2007-10-241-0/+2
|
* get_tile() for z16, z32, s8z24 surfaces needs to return 4 floats per pixel ↵Brian2007-10-241-9/+18
| | | | (for depth texture sampling)
* added a pipe->flush() call in xmesa_clear()Brian2007-10-241-0/+11
|
* Add copyright headers and do some cleanups.Zack Rusin2007-10-249-27/+251
|
* Remove the silly function and remove the bogus comment.Zack Rusin2007-10-241-58/+50
|
* Cleanup some code.Zack Rusin2007-10-2411-17/+41
|
* Implement arl, lerp opcodes and do a first stab at if/endifZack Rusin2007-10-245-135/+388
| | | | handling and branching support.
* Implement cross product and abs opcodeZack Rusin2007-10-243-2/+65
|
* Implement extended swizzling.Zack Rusin2007-10-243-6/+50
|
* Implement SGE and SLTZack Rusin2007-10-243-2/+65
|
* Introduce linux-llvm target. Remove the llvm code from the default build for ↵Zack Rusin2007-10-245-40/+78
| | | | | | now. Cleanup some of the debugging output.
* Align the load/stores. Reduce the amount of debugging output.Zack Rusin2007-10-248-973/+665
|
* Cleanup some of the debugging output codeZack Rusin2007-10-247-84/+10
|
* Make lit work but in a very lame way - will have to be rewritten.Zack Rusin2007-10-243-10/+3
|
* Muchos fixos. gears kinda works. and cases don't crash.Zack Rusin2007-10-249-778/+1149
| | | | glorious
* implement min and maxZack Rusin2007-10-243-2/+110
|
* Fix some warnings and implement lg2Zack Rusin2007-10-244-9/+875
|
* Implement frc and floorZack Rusin2007-10-243-3/+62
|
* Implement ex2 opcodeZack Rusin2007-10-243-1/+13
|
* Implement dst opcodeZack Rusin2007-10-243-1/+26
|
* Implement dph opcodeZack Rusin2007-10-243-1/+31
|
* Implement dot4 opcodeZack Rusin2007-10-243-5/+35
|
* Implement pow/rcp and sub opcodesZack Rusin2007-10-243-5/+91
|
* Add the "add" opcode and assert one vp if an opcode isn't supportedZack Rusin2007-10-241-1/+9
|
* Refactor the tgsi->llvm storage translatorZack Rusin2007-10-244-42/+71
|
* Implement basic opcode translation and storage translation.Zack Rusin2007-10-245-27/+350
|
* Draw first triangle. Start on the llvm builder.Zack Rusin2007-10-243-24/+237
|
* Cleanup some of the testing code. Implement first pass at actuallyZack Rusin2007-10-245-42/+208
| | | | running shaders in llvm.
* Execution engine is a singleton, for now keep it in the pipe.Zack Rusin2007-10-246-19/+64
|
* Generate the base shader.Zack Rusin2007-10-244-47/+194
|
* Implement the conversion and do the initial execution pass.Zack Rusin2007-10-2410-11/+244
|
* Stub out some conversion.Zack Rusin2007-10-241-0/+291
|
* Initial stab at LLVM integration.Zack Rusin2007-10-248-5/+225
|
* Fix vertex cache bug that allows multiple vertices to fall into the same slot.Brian2007-10-231-0/+9
| | | | | | | | | | | | Need to set the slot's bit in draw->vcache.referenced even when there was a cache hit since flushing the primitive buffer will have cleared the bitfield but not the cache's vertex indexes. Fixes a bug found when drawing long triangle fans but could be hit by other prim types as well. An alternate fix would be to call draw_vertex_cache_invalidate() from draw_vertex_cache_unreference().
* added commentBrian2007-10-231-1/+1
|
* In get_vertex(), slot was computed using & 31. Replace with % VCACHE_SIZE.Brian2007-10-231-1/+3
| | | | Also, assert that index is not too large before indexing array.
* adjust coords in wide_line() to be conformantBrian2007-10-231-8/+47
|