summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Disable vertex shader fog, compute fog in fragment shader.Brian2007-09-252-5/+16
|
* some clean-up of ST_NEW_ shader flagsBrian2007-09-253-22/+6
|
* disable TGSI_DEBUGBrian2007-09-251-1/+1
|
* replaced by st_atom_shader.cBrian2007-09-252-572/+0
|
* Translate mesa vertex/fragment programs to TGSI programs at same time to do ↵Brian2007-09-2514-184/+287
| | | | | | | | | | | | | | | | | | 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.
* translate Mesa programs to TGSI programs (formerly in st_atom_[fv]s.c)Brian2007-09-251-0/+413
|
* vertex/fragment shader state and linkingBrian2007-09-252-0/+431
|
* 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.
* turn off shader debugkeithw2007-09-252-2/+2
|
* test against -1 for front/back attribkeithw2007-09-251-4/+4
|
* Enable SSE2 for FS.michal2007-09-246-38/+310
|
* In here we actually do want to assign it. Fix compilation.Zack Rusin2007-09-241-1/+1
|
* 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-216-25/+63
|
* reenable some clear code that was temporarily disabledBrian2007-09-211-4/+1
|
* remove debug printfsBrian2007-09-211-2/+0
|
* commentsBrian2007-09-211-1/+4
|
* use VERT_ATTRIB_MAX for loop limitBrian2007-09-211-1/+1
|
* remove SEMANTIC_TEXCOORDBrian2007-09-211-2/+0
|
* Get rid of TGSI_SEMANTIC_TEXCOORD and just use TGSI_SEMANTIC_GENERIC.Brian2007-09-216-14/+10
|
* rename index var from i to attr, use FRAG_ATTRIB_MAX instead of 16Brian2007-09-212-28/+28
|
* minor renamingBrian2007-09-211-7/+7
|
* pass vs output semantics to tgsi_mesa_compile_vp_program() to generate ↵Brian2007-09-213-4/+25
| | | | output DECs
* fix in/out typosBrian2007-09-211-11/+11
|
* Pass vertex program input semantics into tgsi_mesa_compile_vp_program() to ↵Brian2007-09-213-14/+36
| | | | produce DCLs.
* fix 1/i typosBrian2007-09-211-2/+2
|
* 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-2123-63/+176
|
* 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-2013-122/+191
| | | | 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-204-424/+3
|
* obsoleteBrian2007-09-201-49/+0
|
* remove #includes of tgsi_attribs.hBrian2007-09-207-8/+2
|
* checkpoint: TGSI_ATTRIB_x tokens no longer usedBrian2007-09-206-35/+29
|
* Checkpoint: vertex attribute clean-up.Brian2007-09-2015-53/+67
| | | | | Remove/disable the attrib/slot mapping arrays in a few places. Work in progress...
* Always update st->state.vs, not just when the program is dirty.Brian2007-09-202-7/+10
| | | | | This fixes a regression in the cubemap.c demo which alternates between two different vertex shaders.
* remove unused lookup[]Brian2007-09-201-0/+4
|
* fix input/output typosBrian2007-09-201-4/+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
|
* Allow drivers to cache the template in case they want toZack Rusin2007-09-201-6/+6
| | | | fallback through softpipe which will require the template.
* 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-2013-84/+105
| | | | state constant state object semantics.