Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-10-24 | Muchos fixos. gears kinda works. and cases don't crash. | Zack Rusin | |
glorious | |||
2007-10-24 | Draw first triangle. Start on the llvm builder. | Zack Rusin | |
2007-10-24 | Cleanup some of the testing code. Implement first pass at actually | Zack Rusin | |
running shaders in llvm. | |||
2007-10-24 | Execution engine is a singleton, for now keep it in the pipe. | Zack Rusin | |
2007-10-24 | Generate the base shader. | Zack Rusin | |
2007-10-24 | Implement the conversion and do the initial execution pass. | Zack Rusin | |
2007-10-23 | Fix 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-23 | added comment | Brian | |
2007-10-23 | In 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-23 | adjust coords in wide_line() to be conformant | Brian | |
2007-10-22 | new flag to control psize (from vertex shader or fixed size) | Brian | |
2007-10-22 | add support for sprite texcoord modes | Brian | |
2007-10-22 | implement point sprite mode | Brian | |
2007-10-22 | tweak point corners to pass conform test | Brian | |
2007-10-22 | plug the wide prims code into the pipeline | Brian | |
2007-10-22 | update to working condition | Brian | |
2007-10-22 | pull clip/ module wide and stippled lines/points code | keithw | |
2007-10-18 | Change type of shader->executable field from void * to generic function pointer. | Brian | |
Fix warnings in draw_create_vertex_shader() | |||
2007-10-18 | better debug code, silence some warnings | Brian | |
2007-10-18 | pipe/draw/draw_context.c:47: error: 'false' undeclared (first use in this ↵ | Oliver McFadden | |
function) | |||
2007-10-16 | front/back determination was wrong | Brian | |
2007-10-15 | Change 'drawing' field to boolean. | Brian | |
2007-10-15 | remove unused includes | Brian | |
2007-10-11 | Init draw->prim = ~0 | Brian | |
We weren't rendering correctly if the first thing drawn was a point (PRIM_MODE_POINT=0). | |||
2007-10-10 | added SSCALED cases in fetch_attrib4() | Brian | |
2007-10-03 | Move XSTDCALL definition to p_compiler.h | Brian | |
2007-10-03 | Track fragment and vertex shader code generation via pipe shader state objects. | Michel Dänzer | |
Unfortunately, the generated fragment shader code is effectively unusable until it handles quad->mask. | |||
2007-10-03 | Unify the definitions of the 4 component dot product into one | Zack Rusin | |
location. | |||
2007-10-03 | Unify handling of userplanes and regular planes to simplify | Zack Rusin | |
the clipping code. (really done by Keith) | |||
2007-10-02 | remove dead code | Brian | |
2007-10-02 | Move tgsi machine state init/allocations so they're done less frequently. | Brian | |
This, plus expanding all instructions ahead of time, seems to have improved the performance of program execution by 8x or so. | |||
2007-09-28 | Use sse only if GALLIUM_SSE is defined | Zack Rusin | |
2007-09-28 | Redoing the way we handle vertex shaders for the draw module. | Zack Rusin | |
2007-09-28 | Revert "Redoing the way we handle vertex shaders for the draw module." | Zack Rusin | |
This reverts commit 6dcfddb8e2ec2bfb6187b912807fa65f28da2c5e. | |||
2007-09-28 | Revert "Use sse only if GALLIUM_SSE is defined" | Zack Rusin | |
This reverts commit 57b5d3605745c96ddc2b6de7d50c93db65ba1257. | |||
2007-09-28 | Use sse only if GALLIUM_SSE is defined | Zack Rusin | |
2007-09-28 | Redoing the way we handle vertex shaders for the draw module. | Zack Rusin | |
2007-09-27 | Enable codegen based whenever __i386__ is defined. | Keith Whitwell | |
2007-09-27 | fix merge | keithw | |
2007-09-27 | disable debug | Keith Whitwell | |
2007-09-27 | Make flushing more lazy in the draw module. | Keith Whitwell | |
2007-09-25 | Translate mesa vertex/fragment programs to TGSI programs at same time to do ↵ | Brian | |
proper linking. Previously, programs were translated independently during validation. The problem is the translation to TGSI format, which packs shader input/outputs into continuous slots, depends on which vertex program is being paired with which fragment shader. Now, we look at the outputs of the vertex program in conjunction with the inputs of the fragment shader to be sure the attributes match up correctly. The new 'linked_program_pair' class keeps track of the associations between vertex and fragment shaders. It's also the place where the TGSI tokens are kept since they're no longer per-program state but per-linkage. Still a few loose ends, like implementing some kind of hash/lookup table for linked_program_pairs. | |||
2007-09-25 | test for presence of both front and back color vertex slots | Brian | |
2007-09-25 | remove unused lookup array | Brian | |
2007-09-25 | First attempt at building vertex buffers post-clip. | Keith Whitwell | |
Build a buffer of contigous vertices and indices at the backend of our software transformation/clipping path. This will become the mechanism for emitting buffers of vertices to rasterization hardware. This is similar to but not the same as the post-transform vertex cache. In particular, these vertices are subject to clipping, culling, poly offset, etc. The vertices emitted will all be used by hardware. TODOs include the actual transformation to hardware vertex formats, moving this out of softpipe to somewhere more useful and allowing >1 primitive to share the generated VB. | |||
2007-09-25 | test against -1 for front/back attrib | keithw | |
2007-09-21 | invert draw_vertex_cache_check_space() | Brian | |
2007-09-20 | Clean-up the TGSI_SEMANTIC tokens, introduce semantic indexes. | Brian | |
Still need to produce decl instructions for vertex shaders... | |||
2007-09-20 | remove old/used code | Brian | |
2007-09-20 | remove #includes of tgsi_attribs.h | Brian | |