Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Use sse only if GALLIUM_SSE is defined" | Zack Rusin | 2007-09-28 | 4 | -19/+4 |
| | | | | This reverts commit 57b5d3605745c96ddc2b6de7d50c93db65ba1257. | ||||
* | Use sse only if GALLIUM_SSE is defined | Zack Rusin | 2007-09-28 | 4 | -4/+19 |
| | |||||
* | Redoing the way we handle vertex shaders for the draw module. | Zack Rusin | 2007-09-28 | 11 | -57/+151 |
| | |||||
* | reduced debug | keithw | 2007-09-27 | 1 | -2/+2 |
| | |||||
* | Fix some compiler warnings with -pedantic | Keith Whitwell | 2007-09-27 | 1 | -9/+9 |
| | |||||
* | Enable codegen based whenever __i386__ is defined. | Keith Whitwell | 2007-09-27 | 3 | -17/+5 |
| | |||||
* | fix merge | keithw | 2007-09-27 | 1 | -2/+0 |
| | |||||
* | disable debug | Keith Whitwell | 2007-09-27 | 2 | -3/+3 |
| | |||||
* | restore primitive trimming in sp_draw_arrays.c | keithw | 2007-09-27 | 2 | -4/+7 |
| | |||||
* | Make flushing more lazy in the draw module. | Keith Whitwell | 2007-09-27 | 15 | -278/+428 |
| | |||||
* | added a8r8g8b8_put_tile() | Brian | 2007-09-26 | 1 | -0/+41 |
| | |||||
* | s/_mesa_copy_rect/copy_rect/ | Brian | 2007-09-26 | 1 | -25/+26 |
| | |||||
* | Translate mesa vertex/fragment programs to TGSI programs at same time to do ↵ | Brian | 2007-09-25 | 2 | -5/+6 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | test for presence of both front and back color vertex slots | Brian | 2007-09-25 | 1 | -4/+7 |
| | |||||
* | remove unused lookup array | Brian | 2007-09-25 | 1 | -7/+0 |
| | |||||
* | First attempt at building vertex buffers post-clip. | Keith Whitwell | 2007-09-25 | 11 | -14/+476 |
| | | | | | | | | | | | | | | 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. | ||||
* | test against -1 for front/back attrib | keithw | 2007-09-25 | 1 | -4/+4 |
| | |||||
* | Enable SSE2 for FS. | michal | 2007-09-24 | 3 | -31/+281 |
| | |||||
* | invert draw_vertex_cache_check_space() | Brian | 2007-09-21 | 1 | -1/+1 |
| | |||||
* | added PSIZE | Brian | 2007-09-21 | 1 | -0/+2 |
| | |||||
* | fix some post-transform vertex layout issues (bcolors, psize emitted last | Brian | 2007-09-21 | 1 | -16/+16 |
| | |||||
* | Fix up some point size breakage. Start on fogcoord too. | Brian | 2007-09-21 | 3 | -24/+47 |
| | |||||
* | remove debug printfs | Brian | 2007-09-21 | 1 | -2/+0 |
| | |||||
* | remove SEMANTIC_TEXCOORD | Brian | 2007-09-21 | 1 | -2/+0 |
| | |||||
* | Get rid of TGSI_SEMANTIC_TEXCOORD and just use TGSI_SEMANTIC_GENERIC. | Brian | 2007-09-21 | 4 | -11/+7 |
| | |||||
* | minor renaming | Brian | 2007-09-21 | 1 | -7/+7 |
| | |||||
* | pass vs output semantics to tgsi_mesa_compile_vp_program() to generate ↵ | Brian | 2007-09-21 | 2 | -2/+20 |
| | | | | output DECs | ||||
* | Pass vertex program input semantics into tgsi_mesa_compile_vp_program() to ↵ | Brian | 2007-09-21 | 2 | -14/+33 |
| | | | | produce DCLs. | ||||
* | Convert i915 to use cso semantics of alpha_test. | Zack Rusin | 2007-09-21 | 3 | -15/+22 |
| | |||||
* | Make the alpha test state a cso. | Zack Rusin | 2007-09-21 | 15 | -46/+134 |
| | |||||
* | Silence a few warnings. | Zack Rusin | 2007-09-21 | 3 | -3/+3 |
| | |||||
* | remove :5 form format field in pipe_surface, makes no difference at this time | Brian | 2007-09-20 | 1 | -1/+1 |
| | |||||
* | remove old code in src_vector() | Brian | 2007-09-20 | 1 | -37/+0 |
| | |||||
* | Clean-up the TGSI_SEMANTIC tokens, introduce semantic indexes. | Brian | 2007-09-20 | 11 | -99/+93 |
| | | | | Still need to produce decl instructions for vertex shaders... | ||||
* | remove old/used code | Brian | 2007-09-20 | 5 | -58/+8 |
| | |||||
* | remove lots of dead code related to program input/output mapping | Brian | 2007-09-20 | 2 | -406/+3 |
| | |||||
* | obsolete | Brian | 2007-09-20 | 1 | -49/+0 |
| | |||||
* | remove #includes of tgsi_attribs.h | Brian | 2007-09-20 | 4 | -5/+2 |
| | |||||
* | checkpoint: TGSI_ATTRIB_x tokens no longer used | Brian | 2007-09-20 | 5 | -34/+27 |
| | |||||
* | Checkpoint: vertex attribute clean-up. | Brian | 2007-09-20 | 10 | -32/+36 |
| | | | | | Remove/disable the attrib/slot mapping arrays in a few places. Work in progress... | ||||
* | remove unused lookup[] | Brian | 2007-09-20 | 1 | -0/+4 |
| | |||||
* | Cache the i915 sampler state. | Zack Rusin | 2007-09-20 | 3 | -151/+156 |
| | |||||
* | Make the rasterizer state in i915 use the cso semantics. | Zack Rusin | 2007-09-20 | 5 | -75/+87 |
| | |||||
* | Rewrite the depth_stencil state handling in i915. | Zack Rusin | 2007-09-20 | 4 | -88/+95 |
| | | | | | Done to match the new cso semantics. translate in create, use in bind and later delete. | ||||
* | Fix failover state binding and convert the sampler to use the new | Zack Rusin | 2007-09-20 | 8 | -64/+82 |
| | | | | state constant state object semantics. | ||||
* | Convert depth_stencil state to the new semantics. | Zack Rusin | 2007-09-20 | 8 | -41/+61 |
| | |||||
* | Switch fragment/vertex shaders to the new caching semantics. | Zack Rusin | 2007-09-20 | 8 | -65/+119 |
| | | | | | Allow driver custom allocation within cached objects. The shaders are currently twiced (by cso layer and by the program itself). | ||||
* | Checkpoint: replacement of TGSI_ATTRIB_x tokens with input/output semantics. | Brian | 2007-09-19 | 15 | -93/+360 |
| | | | | | | | | TGSI_ATTRIB_x tokens still present and used in a few places. Expanded set of TGSI_SEMANTIC_x tokens for describing the meaning of inputs/outputs. These tokens are in a crude state ATM. Lots of #if 0 / disabled code to be removed yet, etc... Softpipe and i915 drivers should be in working condition but not heavily tested. | ||||
* | Fix a really stupid mistake that Michel hit. Return proper hash. | Zack Rusin | 2007-09-19 | 1 | -0/+6 |
| | |||||
* | Avoid redundant reallocation of the template. | Zack Rusin | 2007-09-19 | 1 | -5/+4 |
| | | | | | | cso already allocated the template for us. Returning 0 means we have no driver specific representation and just want the template on the bind. |