summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
AgeCommit message (Collapse)Author
2007-04-25fix attribsMask (re-fixes depth peeling algorithm)Brian
2007-04-24s/DO_TEXVAR/DO_ATTRIBS/Brian
2007-04-24get rid of an extra textured triangle functionBrian
2007-04-24s/TEXTURE/ATTRIBS/Brian
2007-04-24trim down the number of line drawing functions, special casesBrian
2007-04-24only need one CI-mode triangle functionBrian
2007-04-24s/INTERP_TEX/INTERP_ATTRIBS/Brian
2007-04-23disable some errant codeBrian
2007-04-23remove SWvertex->fog field, use attrib fieldBrian
2007-04-23Improve the code for interpolating fragment attributes a little. More to ↵Brian
come...
2007-04-21Fix color sum bug 10688.Brian
2007-04-21Remove the !rb->Data check that was added a few months ago.Brian
Was changed while debugging #7205. Broke the shadowtext demo. Revisit this if the problem w/ bug 7205 returns...
2007-04-21undo a test/debug changeBrian
2007-04-19Put gl_program_machine into swrast structure rather than using a local variable.Brian
Basically an easy way to make sure the memory gets initialized once (to zero) to avoid lots of valgrind warnings.
2007-04-19remove invalid assertion (span->facing may be set because of polygonmode)Brian
2007-04-19Don't allow deferredTexture if using occlusion query and a frag shader.Brian
Occlusion query might depend on the shader killing/discarding fragments. Helps fix depth peeling technique. Also, minor tweaks in interpolate_wpos().
2007-04-18check _PreferPixelFog in _swrast_span_default_fog(), see bug 10669Brian
2007-04-18improved fog commentBrian
2007-04-17Enable texture sampling for vertex programs/shaders.Brian
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.
2007-04-14Fix sample_depth_texture() to handle texture rectangle coords.Brian
2007-04-14fix negative zoom factor bug (10636), more commentsBrian
2007-04-11as with prev commit, also fix color index mode zoomed depth copies (bug 10608)Brian
2007-04-11fix zoomed depth copies (bug 10608)Brian
2007-04-07fix references to non-existant sz4 fieldRichard Hughes
2007-04-07fix some CHAN_TYPE==GL_FLOAT breakageRichard Hughes
2007-04-07fix comment typoBrian
2007-04-05fix color storage bug in convolution pathBrian
2007-04-04init span.y=0 to silence warningsBrian
2007-04-04Overlapping copies with zoomZ=-1 were broken. See bug 10521.Brian
Need to check for overlapping src/dest regions before computing bottom-to-top vs. top-to-bottom order.
2007-03-27Restore the UseTexEnvProgram logic.Brian
Was removed during glsl-compiler work. Still need to go back and revisit this because of the interaction with fragment shaders...
2007-03-26Add _swrast_span_default_secondary_color() for use with glBitmap, ↵Brian
glDrawPixels, etc. Secondary color wasn't getting added to post-texture color when drawing bitmaps, images. See bug 10409.
2007-03-21merge from masterBrian
2007-03-211D convolution (and post-conv scale/bias) were inadvertantly applied to 2D ↵Brian
image transfers.
2007-03-18fix assertion in read_depth_pixels()Nicolai Haehnle
2007-03-18mesa: SWAP_BUFF support when calling DrawPixels(DEPTH_COMPONENT)Xiang, Haihao
or TexImage(DEPTH_COMPONENT)
2007-03-15add some rb->Data null ptr checks (bug 7205)Brian
2007-03-13be smarter about which fragment attribs are interpolated before running frag ↵Brian
progs
2007-03-13comment about SPAN_* vs FRAG_BIT_* valuesBrian
2007-03-13Check if FRAG_RESULT_COLR is written and update span->interpMask, arrayMask.Brian
Also, fix an assertion.
2007-03-11Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1.Brian
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.
2007-03-10Implement gl_FrontFacing for fragment shaders.Brian
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.
2007-03-10clean-up formattingBrian
2007-03-09Merge branch 'origin' into glsl-compiler-1Brian
Conflicts: src/mesa/main/context.c
2007-03-07fix deferredTexture bugBrian
2007-02-26if renderbuffer ptr is null, just returnBrian
2007-02-25remove unneeded includesBrian
2007-02-25remove 'maxInst' parameter from _mesa_execute_program()Brian
2007-02-25remove unused 'element' parameter from _mesa_execute_program()Brian
2007-02-24Remove unneeded _Fragment/VertexShaderPresent fields, update comments.Brian
2007-02-22Use the new unified vertex/fragment program interpreter from prog_execute.c.Brian
Currently, DDX, DDY don't work.