Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s/INTERP_TEX/INTERP_ATTRIBS/ | Brian | 2007-04-24 | 2 | -11/+12 |
| | |||||
* | disable some errant code | Brian | 2007-04-23 | 1 | -0/+2 |
| | |||||
* | remove SWvertex->fog field, use attrib field | Brian | 2007-04-23 | 7 | -13/+19 |
| | |||||
* | Improve the code for interpolating fragment attributes a little. More to ↵ | Brian | 2007-04-23 | 7 | -222/+182 |
| | | | | come... | ||||
* | Fix color sum bug 10688. | Brian | 2007-04-21 | 4 | -15/+13 |
| | |||||
* | Remove the !rb->Data check that was added a few months ago. | Brian | 2007-04-21 | 2 | -2/+2 |
| | | | | | Was changed while debugging #7205. Broke the shadowtext demo. Revisit this if the problem w/ bug 7205 returns... | ||||
* | undo a test/debug change | Brian | 2007-04-21 | 1 | -1/+1 |
| | |||||
* | Put gl_program_machine into swrast structure rather than using a local variable. | Brian | 2007-04-19 | 2 | -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) | Brian | 2007-04-19 | 1 | -2/+0 |
| | |||||
* | Don't allow deferredTexture if using occlusion query and a frag shader. | Brian | 2007-04-19 | 1 | -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 10669 | Brian | 2007-04-18 | 1 | -5/+14 |
| | |||||
* | improved fog comment | Brian | 2007-04-18 | 1 | -1/+1 |
| | |||||
* | Enable texture sampling for vertex programs/shaders. | Brian | 2007-04-17 | 2 | -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. | Brian | 2007-04-14 | 1 | -30/+85 |
| | |||||
* | fix negative zoom factor bug (10636), more comments | Brian | 2007-04-14 | 1 | -3/+11 |
| | |||||
* | as with prev commit, also fix color index mode zoomed depth copies (bug 10608) | Brian | 2007-04-11 | 1 | -1/+1 |
| | |||||
* | fix zoomed depth copies (bug 10608) | Brian | 2007-04-11 | 1 | -2/+1 |
| | |||||
* | fix references to non-existant sz4 field | Richard Hughes | 2007-04-07 | 2 | -4/+4 |
| | |||||
* | fix some CHAN_TYPE==GL_FLOAT breakage | Richard Hughes | 2007-04-07 | 1 | -3/+3 |
| | |||||
* | fix comment typo | Brian | 2007-04-07 | 1 | -1/+1 |
| | |||||
* | fix color storage bug in convolution path | Brian | 2007-04-05 | 1 | -1/+1 |
| | |||||
* | init span.y=0 to silence warnings | Brian | 2007-04-04 | 1 | -0/+1 |
| | |||||
* | Overlapping copies with zoomZ=-1 were broken. See bug 10521. | Brian | 2007-04-04 | 1 | -47/+47 |
| | | | | | Need to check for overlapping src/dest regions before computing bottom-to-top vs. top-to-bottom order. | ||||
* | Restore the UseTexEnvProgram logic. | Brian | 2007-03-27 | 2 | -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, ↵ | Brian | 2007-03-26 | 5 | -2/+46 |
| | | | | | | | glDrawPixels, etc. Secondary color wasn't getting added to post-texture color when drawing bitmaps, images. See bug 10409. | ||||
* | merge from master | Brian | 2007-03-21 | 6 | -7/+25 |
|\ | |||||
| * | 1D convolution (and post-conv scale/bias) were inadvertantly applied to 2D ↵ | Brian | 2007-03-21 | 3 | -1/+15 |
| | | | | | | | | image transfers. | ||||
| * | fix assertion in read_depth_pixels() | Nicolai Haehnle | 2007-03-18 | 1 | -1/+1 |
| | | |||||
| * | mesa: SWAP_BUFF support when calling DrawPixels(DEPTH_COMPONENT) | Xiang, Haihao | 2007-03-18 | 1 | -2/+4 |
| | | | | | | | | or TexImage(DEPTH_COMPONENT) | ||||
| * | add some rb->Data null ptr checks (bug 7205) | Brian | 2007-03-15 | 3 | -3/+5 |
| | | |||||
* | | be smarter about which fragment attribs are interpolated before running frag ↵ | Brian | 2007-03-13 | 1 | -11/+21 |
| | | | | | | | | progs | ||||
* | | comment about SPAN_* vs FRAG_BIT_* values | Brian | 2007-03-13 | 1 | -0/+2 |
| | | |||||
* | | Check if FRAG_RESULT_COLR is written and update span->interpMask, arrayMask. | Brian | 2007-03-13 | 1 | -1/+8 |
| | | | | | | | | Also, fix an assertion. | ||||
* | | Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1. | Brian | 2007-03-11 | 4 | -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. | Brian | 2007-03-10 | 1 | -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 formatting | Brian | 2007-03-10 | 1 | -10/+11 |
| | | |||||
* | | Merge branch 'origin' into glsl-compiler-1 | Brian | 2007-03-09 | 1 | -9/+17 |
|\| | | | | | | | | | | | Conflicts: src/mesa/main/context.c | ||||
| * | if renderbuffer ptr is null, just return | Brian | 2007-02-26 | 1 | -9/+17 |
| | | |||||
* | | fix deferredTexture bug | Brian | 2007-03-07 | 1 | -1/+1 |
| | | |||||
* | | remove unneeded includes | Brian | 2007-02-25 | 1 | -4/+0 |
| | | |||||
* | | remove 'maxInst' parameter from _mesa_execute_program() | Brian | 2007-02-25 | 1 | -2/+1 |
| | | |||||
* | | remove unused 'element' parameter from _mesa_execute_program() | Brian | 2007-02-25 | 1 | -2/+1 |
| | | |||||
* | | Remove unneeded _Fragment/VertexShaderPresent fields, update comments. | Brian | 2007-02-24 | 1 | -4/+0 |
| | | |||||
* | | Use the new unified vertex/fragment program interpreter from prog_execute.c. | Brian | 2007-02-22 | 1 | -1511/+12 |
| | | | | | | | | Currently, DDX, DDY don't work. | ||||
* | | use MAX_PROGRAM_ENV_PARAMS | Brian | 2007-02-22 | 1 | -3/+3 |
| | | |||||
* | | Merge branch 'origin' into glsl-compiler-1 | Brian | 2007-02-22 | 12 | -43/+59 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/main/state.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/programopt.c src/mesa/shader/slang/slang_execute.c src/mesa/sources src/mesa/swrast/s_arbshader.c src/mesa/swrast/s_context.c src/mesa/swrast/s_span.c src/mesa/swrast/s_zoom.c src/mesa/tnl/t_context.c src/mesa/tnl/t_save_api.c src/mesa/tnl/t_vb_arbprogram.c src/mesa/tnl/t_vp_build.c src/mesa/tnl/t_vtx_eval.c | ||||
| * | test for POT before using sample_2d_linear_repeat() | Etienne Clement | 2007-02-14 | 1 | -1/+3 |
| | | |||||
| * | silence C++ warnings | Brian | 2007-01-23 | 5 | -18/+24 |
| | | |||||
| * | fixes for C++ warnings/errors | Brian | 2007-01-23 | 5 | -23/+32 |
| | | |||||
| * | Use GLuint instead of GLint to store intermediate Z values. Fixes problems ↵ | Brian | 2007-01-06 | 2 | -8/+9 |
| | | | | | | | | when using 32-bit Z buffer. |