Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | turn off shader debug | keithw | 2007-09-25 | 2 | -2/+2 |
| | |||||
* | test against -1 for front/back attrib | keithw | 2007-09-25 | 1 | -4/+4 |
| | |||||
* | Enable SSE2 for FS. | michal | 2007-09-24 | 6 | -38/+310 |
| | |||||
* | In here we actually do want to assign it. Fix compilation. | Zack Rusin | 2007-09-24 | 1 | -1/+1 |
| | |||||
* | 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 | 6 | -25/+63 |
| | |||||
* | reenable some clear code that was temporarily disabled | Brian | 2007-09-21 | 1 | -4/+1 |
| | |||||
* | remove debug printfs | Brian | 2007-09-21 | 1 | -2/+0 |
| | |||||
* | comments | Brian | 2007-09-21 | 1 | -1/+4 |
| | |||||
* | use VERT_ATTRIB_MAX for loop limit | Brian | 2007-09-21 | 1 | -1/+1 |
| | |||||
* | 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 | 6 | -14/+10 |
| | |||||
* | rename index var from i to attr, use FRAG_ATTRIB_MAX instead of 16 | Brian | 2007-09-21 | 2 | -28/+28 |
| | |||||
* | 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 | 3 | -4/+25 |
| | | | | output DECs | ||||
* | fix in/out typos | Brian | 2007-09-21 | 1 | -11/+11 |
| | |||||
* | Pass vertex program input semantics into tgsi_mesa_compile_vp_program() to ↵ | Brian | 2007-09-21 | 3 | -14/+36 |
| | | | | produce DCLs. | ||||
* | fix 1/i typos | Brian | 2007-09-21 | 1 | -2/+2 |
| | |||||
* | 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 | 23 | -63/+176 |
| | |||||
* | 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 | 13 | -122/+191 |
| | | | | 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 | 4 | -424/+3 |
| | |||||
* | obsolete | Brian | 2007-09-20 | 1 | -49/+0 |
| | |||||
* | remove #includes of tgsi_attribs.h | Brian | 2007-09-20 | 7 | -8/+2 |
| | |||||
* | checkpoint: TGSI_ATTRIB_x tokens no longer used | Brian | 2007-09-20 | 6 | -35/+29 |
| | |||||
* | Checkpoint: vertex attribute clean-up. | Brian | 2007-09-20 | 15 | -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. | Brian | 2007-09-20 | 2 | -7/+10 |
| | | | | | This fixes a regression in the cubemap.c demo which alternates between two different vertex shaders. | ||||
* | remove unused lookup[] | Brian | 2007-09-20 | 1 | -0/+4 |
| | |||||
* | fix input/output typos | Brian | 2007-09-20 | 1 | -4/+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 |
| | |||||
* | Allow drivers to cache the template in case they want to | Zack Rusin | 2007-09-20 | 1 | -6/+6 |
| | | | | fallback through softpipe which will require the template. | ||||
* | 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 | 13 | -84/+105 |
| | | | | state constant state object semantics. | ||||
* | Convert depth_stencil state to the new semantics. | Zack Rusin | 2007-09-20 | 14 | -66/+88 |
| | |||||
* | Switch fragment/vertex shaders to the new caching semantics. | Zack Rusin | 2007-09-20 | 18 | -120/+181 |
| | | | | | 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 | 22 | -234/+580 |
| | | | | | | | | 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 |
| | |||||
* | Fix window resizes. | Michel Dänzer | 2007-09-19 | 1 | -1/+4 |
| | | | | The memcmp is insufficient for eliminating redundant framebuffer state changes. | ||||
* | Pad surface dimensions to multiples of 2. | Michel Dänzer | 2007-09-19 | 1 | -0/+4 |
| | | | | Avoids an assertion failure with softpipe if requested width or height is odd. | ||||
* | Adding proper includes often helps with the warnings, | Zack Rusin | 2007-09-19 | 1 | -0/+1 |
| | | | | or so i hear.. | ||||
* | Avoid redundant reallocation of the template. | Zack Rusin | 2007-09-19 | 2 | -7/+6 |
| | | | | | | cso already allocated the template for us. Returning 0 means we have no driver specific representation and just want the template on the bind. |