summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
Commit message (Collapse)AuthorAgeFilesLines
...
* fix attribsMask (re-fixes depth peeling algorithm)Brian2007-04-251-0/+7
|
* s/DO_TEXVAR/DO_ATTRIBS/Brian2007-04-244-18/+18
|
* get rid of an extra textured triangle functionBrian2007-04-241-6/+6
|
* s/TEXTURE/ATTRIBS/Brian2007-04-242-11/+11
|
* trim down the number of line drawing functions, special casesBrian2007-04-242-67/+8
|
* only need one CI-mode triangle functionBrian2007-04-241-29/+9
|
* s/INTERP_TEX/INTERP_ATTRIBS/Brian2007-04-242-11/+12
|
* disable some errant codeBrian2007-04-231-0/+2
|
* remove SWvertex->fog field, use attrib fieldBrian2007-04-237-13/+19
|
* Improve the code for interpolating fragment attributes a little. More to ↵Brian2007-04-237-222/+182
| | | | come...
* Fix color sum bug 10688.Brian2007-04-214-15/+13
|
* Remove the !rb->Data check that was added a few months ago.Brian2007-04-212-2/+2
| | | | | Was changed while debugging #7205. Broke the shadowtext demo. Revisit this if the problem w/ bug 7205 returns...
* undo a test/debug changeBrian2007-04-211-1/+1
|
* Put gl_program_machine into swrast structure rather than using a local variable.Brian2007-04-192-10/+13
| | | | | Basically an easy way to make sure the memory gets initialized once (to zero) to avoid lots of valgrind warnings.
* remove invalid assertion (span->facing may be set because of polygonmode)Brian2007-04-191-2/+0
|
* Don't allow deferredTexture if using occlusion query and a frag shader.Brian2007-04-191-4/+17
| | | | | | Occlusion query might depend on the shader killing/discarding fragments. Helps fix depth peeling technique. Also, minor tweaks in interpolate_wpos().
* check _PreferPixelFog in _swrast_span_default_fog(), see bug 10669Brian2007-04-181-5/+14
|
* improved fog commentBrian2007-04-181-1/+1
|
* Enable texture sampling for vertex programs/shaders.Brian2007-04-172-2/+5
| | | | | | | This is a bit of a hack for now because the tnl module is using the swrast module to fetch texels. The texture fetch/filter code should probably be moved into the main/ module since it doesn't really depend upon other swrast code.
* Fix sample_depth_texture() to handle texture rectangle coords.Brian2007-04-141-30/+85
|
* fix negative zoom factor bug (10636), more commentsBrian2007-04-141-3/+11
|
* as with prev commit, also fix color index mode zoomed depth copies (bug 10608)Brian2007-04-111-1/+1
|
* fix zoomed depth copies (bug 10608)Brian2007-04-111-2/+1
|
* fix references to non-existant sz4 fieldRichard Hughes2007-04-072-4/+4
|
* fix some CHAN_TYPE==GL_FLOAT breakageRichard Hughes2007-04-071-3/+3
|
* fix comment typoBrian2007-04-071-1/+1
|
* fix color storage bug in convolution pathBrian2007-04-051-1/+1
|
* init span.y=0 to silence warningsBrian2007-04-041-0/+1
|
* Overlapping copies with zoomZ=-1 were broken. See bug 10521.Brian2007-04-041-47/+47
| | | | | Need to check for overlapping src/dest regions before computing bottom-to-top vs. top-to-bottom order.
* Restore the UseTexEnvProgram logic.Brian2007-03-272-2/+2
| | | | | Was removed during glsl-compiler work. Still need to go back and revisit this because of the interaction with fragment shaders...
* Add _swrast_span_default_secondary_color() for use with glBitmap, ↵Brian2007-03-265-2/+46
| | | | | | | glDrawPixels, etc. Secondary color wasn't getting added to post-texture color when drawing bitmaps, images. See bug 10409.
* merge from masterBrian2007-03-216-7/+25
|\
| * 1D convolution (and post-conv scale/bias) were inadvertantly applied to 2D ↵Brian2007-03-213-1/+15
| | | | | | | | image transfers.
| * fix assertion in read_depth_pixels()Nicolai Haehnle2007-03-181-1/+1
| |
| * mesa: SWAP_BUFF support when calling DrawPixels(DEPTH_COMPONENT)Xiang, Haihao2007-03-181-2/+4
| | | | | | | | or TexImage(DEPTH_COMPONENT)
| * add some rb->Data null ptr checks (bug 7205)Brian2007-03-153-3/+5
| |
* | be smarter about which fragment attribs are interpolated before running frag ↵Brian2007-03-131-11/+21
| | | | | | | | progs
* | comment about SPAN_* vs FRAG_BIT_* valuesBrian2007-03-131-0/+2
| |
* | Check if FRAG_RESULT_COLR is written and update span->interpMask, arrayMask.Brian2007-03-131-1/+8
| | | | | | | | Also, fix an assertion.
* | Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1.Brian2007-03-114-73/+148
| | | | | | | | | | | | GL_MAX_DRAW_BUFFERS is currently 4. Added gl_FragData[] output for fragment programs. In _swrast_write_rgba_span() loop over the color outputs/renderbuffers.
* | Implement gl_FrontFacing for fragment shaders.Brian2007-03-101-0/+4
| | | | | | | | | | | | For the time being, we put the gl_FrontFacing value in the FOGC.Y input register. Combining FOGC and FrontFacing in one register is a bit of a hack and may need to be changed someday.
* | clean-up formattingBrian2007-03-101-10/+11
| |
* | Merge branch 'origin' into glsl-compiler-1Brian2007-03-091-9/+17
|\ \ | |/ | | | | | | | | Conflicts: src/mesa/main/context.c
| * if renderbuffer ptr is null, just returnBrian2007-02-261-9/+17
| |
* | fix deferredTexture bugBrian2007-03-071-1/+1
| |
* | remove unneeded includesBrian2007-02-251-4/+0
| |
* | remove 'maxInst' parameter from _mesa_execute_program()Brian2007-02-251-2/+1
| |
* | remove unused 'element' parameter from _mesa_execute_program()Brian2007-02-251-2/+1
| |
* | Remove unneeded _Fragment/VertexShaderPresent fields, update comments.Brian2007-02-241-4/+0
| |
* | Use the new unified vertex/fragment program interpreter from prog_execute.c.Brian2007-02-221-1511/+12
| | | | | | | | Currently, DDX, DDY don't work.