Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More work on glCopyTexSubImage. | Brian | 2007-09-26 | 1 | -117/+157 |
| | | | | | Start sketching out a fallback path based on surface->get_tile(), put_tile() which will do format convertion and GL's pixel transfer ops. | ||||
* | checkpoint: glCopyTexImage work | Brian | 2007-09-26 | 1 | -90/+73 |
| | |||||
* | check for _NEW_PROGRAM mesa state (fixes arbfplight) | Brian | 2007-09-26 | 1 | -1/+1 |
| | |||||
* | better debugging | Brian | 2007-09-26 | 1 | -0/+4 |
| | |||||
* | comments, null ptr checks, etc. | Brian | 2007-09-25 | 1 | -16/+38 |
| | |||||
* | don't apply pixelzoom to bitmaps | Brian | 2007-09-25 | 1 | -2/+5 |
| | |||||
* | st_draw_vertices() no longer needs attribs[] array parameter | Brian | 2007-09-25 | 4 | -20/+6 |
| | |||||
* | Simple implementation of glBitmap rendering. | Brian | 2007-09-25 | 1 | -44/+320 |
| | | | | | | Create a texture matching the bitmap image and use a fragment program to modulate current raster color by the boolean-valued texture. Need to eventually use fragment culling (see comments in code). | ||||
* | re-org/prep for glBitmap | Brian | 2007-09-25 | 1 | -17/+10 |
| | |||||
* | clean-up #includes | Brian | 2007-09-25 | 1 | -4/+2 |
| | |||||
* | better debug output | Brian | 2007-09-25 | 1 | -7/+7 |
| | |||||
* | Disable vertex shader fog, compute fog in fragment shader. | Brian | 2007-09-25 | 1 | -0/+5 |
| | |||||
* | some clean-up of ST_NEW_ shader flags | Brian | 2007-09-25 | 3 | -22/+6 |
| | |||||
* | disable TGSI_DEBUG | Brian | 2007-09-25 | 1 | -1/+1 |
| | |||||
* | replaced by st_atom_shader.c | Brian | 2007-09-25 | 2 | -572/+0 |
| | |||||
* | Translate mesa vertex/fragment programs to TGSI programs at same time to do ↵ | Brian | 2007-09-25 | 11 | -177/+279 |
| | | | | | | | | | | | | | | | | | | 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) | Brian | 2007-09-25 | 1 | -0/+413 |
| | |||||
* | vertex/fragment shader state and linking | Brian | 2007-09-25 | 2 | -0/+431 |
| | |||||
* | turn off shader debug | keithw | 2007-09-25 | 2 | -2/+2 |
| | |||||
* | Enable SSE2 for FS. | michal | 2007-09-24 | 3 | -7/+29 |
| | |||||
* | In here we actually do want to assign it. Fix compilation. | Zack Rusin | 2007-09-24 | 1 | -1/+1 |
| | |||||
* | Fix up some point size breakage. Start on fogcoord too. | Brian | 2007-09-21 | 3 | -1/+16 |
| | |||||
* | reenable some clear code that was temporarily disabled | Brian | 2007-09-21 | 1 | -4/+1 |
| | |||||
* | comments | Brian | 2007-09-21 | 1 | -1/+4 |
| | |||||
* | use VERT_ATTRIB_MAX for loop limit | Brian | 2007-09-21 | 1 | -1/+1 |
| | |||||
* | Get rid of TGSI_SEMANTIC_TEXCOORD and just use TGSI_SEMANTIC_GENERIC. | Brian | 2007-09-21 | 2 | -3/+3 |
| | |||||
* | rename index var from i to attr, use FRAG_ATTRIB_MAX instead of 16 | Brian | 2007-09-21 | 2 | -28/+28 |
| | |||||
* | pass vs output semantics to tgsi_mesa_compile_vp_program() to generate ↵ | Brian | 2007-09-21 | 1 | -2/+5 |
| | | | | 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 | 1 | -0/+3 |
| | | | | produce DCLs. | ||||
* | fix 1/i typos | Brian | 2007-09-21 | 1 | -2/+2 |
| | |||||
* | Make the alpha test state a cso. | Zack Rusin | 2007-09-21 | 8 | -17/+42 |
| | |||||
* | Clean-up the TGSI_SEMANTIC tokens, introduce semantic indexes. | Brian | 2007-09-20 | 2 | -23/+98 |
| | | | | Still need to produce decl instructions for vertex shaders... | ||||
* | remove lots of dead code related to program input/output mapping | Brian | 2007-09-20 | 2 | -18/+0 |
| | |||||
* | remove #includes of tgsi_attribs.h | Brian | 2007-09-20 | 3 | -3/+0 |
| | |||||
* | checkpoint: TGSI_ATTRIB_x tokens no longer used | Brian | 2007-09-20 | 1 | -1/+2 |
| | |||||
* | Checkpoint: vertex attribute clean-up. | Brian | 2007-09-20 | 5 | -21/+31 |
| | | | | | 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. | ||||
* | fix input/output typos | Brian | 2007-09-20 | 1 | -4/+4 |
| | |||||
* | 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. | ||||
* | Fix failover state binding and convert the sampler to use the new | Zack Rusin | 2007-09-20 | 5 | -20/+23 |
| | | | | state constant state object semantics. | ||||
* | Convert depth_stencil state to the new semantics. | Zack Rusin | 2007-09-20 | 6 | -25/+27 |
| | |||||
* | Switch fragment/vertex shaders to the new caching semantics. | Zack Rusin | 2007-09-20 | 10 | -55/+62 |
| | | | | | 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 | 7 | -141/+220 |
| | | | | | | | | 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 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 | 1 | -2/+2 |
| | | | | | | cso already allocated the template for us. Returning 0 means we have no driver specific representation and just want the template on the bind. | ||||
* | Convert the rasterizer cso to the new semantics. | Zack Rusin | 2007-09-19 | 7 | -27/+29 |
| | | | | | Basically make cso hold the driver specific struct, while managing the template. | ||||
* | Redo the cso cache to map driver data in a lot more pleasing way. | Zack Rusin | 2007-09-19 | 6 | -27/+31 |
| | | | | | | Drivers can now create whatever they want from the state template. We use cso_state object to store the template (necessary during lookups), and the driver data. Convert blend state to the new semantics. |