Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Initial conditional execution support for loops and BRK instruction. | Brian | 2007-09-29 | 2 | -94/+110 |
| | | | | | Also, instead of passing cond mask to each micro op, just apply it in the store_dest() function. | ||||
* | remove unused tgsi_exec_cond_* types | Brian | 2007-09-29 | 1 | -24/+0 |
| | |||||
* | Initial implementation of IF/ELSE/ENDIF using conditional masking. | Brian | 2007-09-28 | 2 | -191/+124 |
| | | | | | | mach->CondMask controls writing to each of the 4 components in a quad. mach->CondMaskStack handles nested conditionals. Only a few of the micro ops (add/sub/mul/store) have been updated to obey CondMask at this time. | ||||
* | fix bug causing unnecessary translations | Brian | 2007-09-28 | 1 | -1/+1 |
| | |||||
* | remove old debug code, fix warning | Brian | 2007-09-28 | 1 | -11/+0 |
| | |||||
* | fix st_use_program() | Brian | 2007-09-28 | 1 | -0/+3 |
| | |||||
* | Instead of linked program pairs, keep a list of vertex programs translated ↵ | Brian | 2007-09-28 | 5 | -238/+149 |
| | | | | for each fragment program. | ||||
* | Use texture->first_level, not 0, when not mipmapping. | Brian | 2007-09-28 | 1 | -4/+2 |
| | | | | | Fixes crash when GL_BASE_LEVEL!=0. Also, remove old assertion. | ||||
* | Use sse only if GALLIUM_SSE is defined | Zack Rusin | 2007-09-28 | 5 | -8/+26 |
| | |||||
* | Redoing the way we handle vertex shaders for the draw module. | Zack Rusin | 2007-09-28 | 15 | -77/+152 |
| | |||||
* | Remove gl dependency from the x86 assembler code | Zack Rusin | 2007-09-28 | 2 | -58/+59 |
| | |||||
* | Revert "Redoing the way we handle vertex shaders for the draw module." | Zack Rusin | 2007-09-28 | 17 | -211/+135 |
| | | | | This reverts commit 6dcfddb8e2ec2bfb6187b912807fa65f28da2c5e. | ||||
* | Revert "Use sse only if GALLIUM_SSE is defined" | Zack Rusin | 2007-09-28 | 5 | -26/+8 |
| | | | | This reverts commit 57b5d3605745c96ddc2b6de7d50c93db65ba1257. | ||||
* | Use sse only if GALLIUM_SSE is defined | Zack Rusin | 2007-09-28 | 5 | -8/+26 |
| | |||||
* | Redoing the way we handle vertex shaders for the draw module. | Zack Rusin | 2007-09-28 | 17 | -135/+211 |
| | |||||
* | set miptree pitch to region pitch after allocating the region in ↵ | Brian | 2007-09-27 | 1 | -0/+1 |
| | | | | | | | st_miptree_create() This fixes rendering with small (4x4) textures with softpipe. Haven't yet tested with i915. | ||||
* | comments | Brian | 2007-09-27 | 2 | -6/+7 |
| | |||||
* | remove dead code | keithw | 2007-09-27 | 1 | -83/+0 |
| | |||||
* | reduced debug | keithw | 2007-09-27 | 1 | -2/+2 |
| | |||||
* | Fix some compiler warnings with -pedantic | Keith Whitwell | 2007-09-27 | 3 | -13/+19 |
| | |||||
* | Enable codegen based whenever __i386__ is defined. | Keith Whitwell | 2007-09-27 | 8 | -27/+15 |
| | |||||
* | 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 | 16 | -279/+430 |
| | |||||
* | Use Gallium in the renderer string | keithw | 2007-09-27 | 1 | -1/+2 |
| | |||||
* | Do image flipping in do_copy_texsubimage() and GL pixel transfer ops (except ↵ | Brian | 2007-09-26 | 1 | -7/+28 |
| | | | | convolution). | ||||
* | fallback_copy_texsubimage() basically works now (at least w/ Xlib driver). | Brian | 2007-09-26 | 1 | -1/+17 |
| | | | | | | | Have to map regions before calling get_tile()/put_tile(). Need to invert srcY of glCopyTexSubImage() depending on renderbuffers up/down orientation. Still need to invert image in fallback_copy_texsubimage() when needed. | ||||
* | added a8r8g8b8_put_tile() | Brian | 2007-09-26 | 1 | -0/+41 |
| | |||||
* | don't use scissored bounds in _mesa_clip_copytexsubimage() | Brian | 2007-09-26 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | s/_mesa_copy_rect/copy_rect/ | Brian | 2007-09-26 | 1 | -25/+26 |
| | |||||
* | Added new _mesa_clip_copytexsubimage() function to do avoid clipping down in ↵ | Brian | 2007-09-26 | 3 | -7/+60 |
| | | | | | | the drivers. This should probably be pulled into main-line Mesa... | ||||
* | 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 |
| | |||||
* | include programopt.h | Brian | 2007-09-25 | 1 | -0/+1 |
| | |||||
* | Disable vertex shader fog, compute fog in fragment shader. | Brian | 2007-09-25 | 2 | -5/+16 |
| | |||||
* | 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 | 14 | -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) | Brian | 2007-09-25 | 1 | -0/+413 |
| |