summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-10-24Fix glDrawElements + VBO rendering when ptr/offset is not zero.Brian
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.
2007-10-24Revert "Undo indexOffset change (I think, git???)"Brian
This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb.
2007-10-24Undo indexOffset change (I think, git???)Brian
2007-10-24add to gitBrian
2007-10-24Implement gl_PointCoord attribute for GLSL fragment shaders.Brian
Contains the normalized fragment position within a point sprite.
2007-10-24print CAL labelBrian
2007-10-24fix bug in RET codeBrian
2007-10-24better debug outputBrian
2007-10-24a bit more work for optimizing clears in tile cache (not enabled yet)Brian
2007-10-24flush pipe in draw_stencil_pixels()Brian
2007-10-24get_tile() for z16, z32, s8z24 surfaces needs to return 4 floats per pixel ↵Brian
(for depth texture sampling)
2007-10-24added a pipe->flush() call in xmesa_clear()Brian
2007-10-24Add copyright headers and do some cleanups.Zack Rusin
2007-10-24Remove the silly function and remove the bogus comment.Zack Rusin
2007-10-24Cleanup some code.Zack Rusin
2007-10-24Implement arl, lerp opcodes and do a first stab at if/endifZack Rusin
handling and branching support.
2007-10-24Implement cross product and abs opcodeZack Rusin
2007-10-24Implement extended swizzling.Zack Rusin
2007-10-24Implement SGE and SLTZack Rusin
2007-10-24Introduce linux-llvm target. Remove the llvm code from the default build for ↵Zack Rusin
now. Cleanup some of the debugging output.
2007-10-24Align the load/stores. Reduce the amount of debugging output.Zack Rusin
2007-10-24Cleanup some of the debugging output codeZack Rusin
2007-10-24Make lit work but in a very lame way - will have to be rewritten.Zack Rusin
2007-10-24Muchos fixos. gears kinda works. and cases don't crash.Zack Rusin
glorious
2007-10-24implement min and maxZack Rusin
2007-10-24Fix some warnings and implement lg2Zack Rusin
2007-10-24Implement frc and floorZack Rusin
2007-10-24Implement ex2 opcodeZack Rusin
2007-10-24Implement dst opcodeZack Rusin
2007-10-24Implement dph opcodeZack Rusin
2007-10-24Implement dot4 opcodeZack Rusin
2007-10-24Implement pow/rcp and sub opcodesZack Rusin
2007-10-24Add the "add" opcode and assert one vp if an opcode isn't supportedZack Rusin
2007-10-24Refactor the tgsi->llvm storage translatorZack Rusin
2007-10-24Implement basic opcode translation and storage translation.Zack Rusin
2007-10-24Draw first triangle. Start on the llvm builder.Zack Rusin
2007-10-24Cleanup some of the testing code. Implement first pass at actuallyZack Rusin
running shaders in llvm.
2007-10-24Execution engine is a singleton, for now keep it in the pipe.Zack Rusin
2007-10-24Generate the base shader.Zack Rusin
2007-10-24Implement the conversion and do the initial execution pass.Zack Rusin
2007-10-24Stub out some conversion.Zack Rusin
2007-10-24Initial stab at LLVM integration.Zack Rusin
2007-10-23Fix vertex cache bug that allows multiple vertices to fall into the same slot.Brian
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().
2007-10-23added commentBrian
2007-10-23In get_vertex(), slot was computed using & 31. Replace with % VCACHE_SIZE.Brian
Also, assert that index is not too large before indexing array.
2007-10-23adjust coords in wide_line() to be conformantBrian
2007-10-23properly init dst reg's CondMask/Swizzle fieldsBrian
2007-10-23bump up MAX_INSTRUCTIONS and add an assertion to catch emitting too many ↵Brian
instructions
2007-10-23Don't pad renderbuffers to multiple of two pixels anymore.Brian
This was only needed to avoid out-of-bounds memory accesses with the 2x2 quad_read/write() functions which no longer exist.
2007-10-22don't apply ColorMask to main gcBrian