summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Use sse only if GALLIUM_SSE is defined"Zack Rusin2007-09-284-19/+4
| | | | This reverts commit 57b5d3605745c96ddc2b6de7d50c93db65ba1257.
* Use sse only if GALLIUM_SSE is definedZack Rusin2007-09-284-4/+19
|
* Redoing the way we handle vertex shaders for the draw module.Zack Rusin2007-09-2811-57/+151
|
* reduced debugkeithw2007-09-271-2/+2
|
* Fix some compiler warnings with -pedanticKeith Whitwell2007-09-271-9/+9
|
* Enable codegen based whenever __i386__ is defined.Keith Whitwell2007-09-273-17/+5
|
* fix mergekeithw2007-09-271-2/+0
|
* disable debugKeith Whitwell2007-09-272-3/+3
|
* restore primitive trimming in sp_draw_arrays.ckeithw2007-09-272-4/+7
|
* Make flushing more lazy in the draw module.Keith Whitwell2007-09-2715-278/+428
|
* added a8r8g8b8_put_tile()Brian2007-09-261-0/+41
|
* s/_mesa_copy_rect/copy_rect/Brian2007-09-261-25/+26
|
* Translate mesa vertex/fragment programs to TGSI programs at same time to do ↵Brian2007-09-252-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 slotsBrian2007-09-251-4/+7
|
* remove unused lookup arrayBrian2007-09-251-7/+0
|
* First attempt at building vertex buffers post-clip.Keith Whitwell2007-09-2511-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 attribkeithw2007-09-251-4/+4
|
* Enable SSE2 for FS.michal2007-09-243-31/+281
|
* invert draw_vertex_cache_check_space()Brian2007-09-211-1/+1
|
* added PSIZEBrian2007-09-211-0/+2
|
* fix some post-transform vertex layout issues (bcolors, psize emitted lastBrian2007-09-211-16/+16
|
* Fix up some point size breakage. Start on fogcoord too.Brian2007-09-213-24/+47
|
* remove debug printfsBrian2007-09-211-2/+0
|
* remove SEMANTIC_TEXCOORDBrian2007-09-211-2/+0
|
* Get rid of TGSI_SEMANTIC_TEXCOORD and just use TGSI_SEMANTIC_GENERIC.Brian2007-09-214-11/+7
|
* minor renamingBrian2007-09-211-7/+7
|
* pass vs output semantics to tgsi_mesa_compile_vp_program() to generate ↵Brian2007-09-212-2/+20
| | | | output DECs
* Pass vertex program input semantics into tgsi_mesa_compile_vp_program() to ↵Brian2007-09-212-14/+33
| | | | produce DCLs.
* Convert i915 to use cso semantics of alpha_test.Zack Rusin2007-09-213-15/+22
|
* Make the alpha test state a cso.Zack Rusin2007-09-2115-46/+134
|
* Silence a few warnings.Zack Rusin2007-09-213-3/+3
|
* remove :5 form format field in pipe_surface, makes no difference at this timeBrian2007-09-201-1/+1
|
* remove old code in src_vector()Brian2007-09-201-37/+0
|
* Clean-up the TGSI_SEMANTIC tokens, introduce semantic indexes.Brian2007-09-2011-99/+93
| | | | Still need to produce decl instructions for vertex shaders...
* remove old/used codeBrian2007-09-205-58/+8
|
* remove lots of dead code related to program input/output mappingBrian2007-09-202-406/+3
|
* obsoleteBrian2007-09-201-49/+0
|
* remove #includes of tgsi_attribs.hBrian2007-09-204-5/+2
|
* checkpoint: TGSI_ATTRIB_x tokens no longer usedBrian2007-09-205-34/+27
|
* Checkpoint: vertex attribute clean-up.Brian2007-09-2010-32/+36
| | | | | Remove/disable the attrib/slot mapping arrays in a few places. Work in progress...
* remove unused lookup[]Brian2007-09-201-0/+4
|
* Cache the i915 sampler state.Zack Rusin2007-09-203-151/+156
|
* Make the rasterizer state in i915 use the cso semantics.Zack Rusin2007-09-205-75/+87
|
* Rewrite the depth_stencil state handling in i915.Zack Rusin2007-09-204-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 newZack Rusin2007-09-208-64/+82
| | | | state constant state object semantics.
* Convert depth_stencil state to the new semantics.Zack Rusin2007-09-208-41/+61
|
* Switch fragment/vertex shaders to the new caching semantics.Zack Rusin2007-09-208-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.Brian2007-09-1915-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 Rusin2007-09-191-0/+6
|
* Avoid redundant reallocation of the template.Zack Rusin2007-09-191-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.