summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
AgeCommit message (Collapse)Author
2006-03-29put braces around RENDER_SPAN macro when called, not when defined. Fixes ↵Brian Paul
-pedantic warnings in x11 driver
2006-03-29fix a GLuint vs GLushort test, new assertionsBrian Paul
2006-03-26merge from texman branchBrian Paul
2006-03-25remove carriage returnsBrian Paul
2006-03-22Need to check for new state and do readpixels/drawpixels clipping afterBrian Paul
we call RENDER_START since that may involve validating the drawable and updating its dimensions.
2006-03-21GLSL fixes:Michal Krol
- generate error on NULL pointers in glShaderSourceARB; - reinstall program object, if current, in glLinkProgramARB; - vertex and fragment shaders are optional in program object; - floor asm was wrongly computed for x86 back-end; - allow for (void) idiom in function prototypes; - all fixed-state uniforms are updated; - local variable initializers are working; - implement texture* and shadow* functions for vertex processor; - generate error if too many arguments in general constructor; - trim unused data in general constructor; - struct r-value field select was badly relocated; Changes: - add derived state gl_fog_attrib::_Scale; - add derived state gl_light::_CosCutoffNeg;
2006-03-19minor clean-upsBrian Paul
2006-03-15s/GLuint/GLushort/ in read_depth_stencil_image()Brian Paul
2006-03-07 Committing in .Jouk Jansen
Update OpenVMS makefiles Modified Files: Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/swrast/descrip.mms ----------------------------------------------------------------------
2006-03-03Fix bogus span mask in s_atifragshader.c leading to trouble when the pixel ↵Roland Scheidegger
was later discarded by z test (this fixes doom3 r200 renderpath with swrast). Fix calling _swrast_alpha_test potentially leading to bogus results when Alpha Test might not be enabled. While here, don't disable deferred_texture (early z) when ATI_fragment_shader is active, as it is not necessary (for the record, this boosts doom3 swrast performance by roughly a factor of 2 (4 seconds per frame now...) with the r200 render path, might be a worthwile optimization for fragment programs which don't write z).
2006-03-02implementation of _swrast_BlitFramebuffer()Brian Paul
2006-03-01added s_blit.cBrian Paul
2006-03-01_swrast_blit_framebuffer() functionBrian Paul
2006-02-28only run shader on active fragments in the spanBrian Paul
2006-02-28check if active fragment shader for deferred texturing/shadingBrian Paul
2006-02-28check for active shader, set FRAGPROG_BIT in raster maskBrian Paul
2006-02-27More GLSL code:Michal Krol
- add x86 code generator; - add full support for uniforms in ARB_shader_objects; - add assembly instruction: global_addr; - reorganize #includes; - built-in uniforms accessed by index, rather than by name; - add some entries to x86sse rtasm; - add configurations to VC6 projects: 'Release x86' and 'Debug x86'; - #define SLANG_X86 active only on VC6 x86 builds; - introduce code export table for a shader; - remove GNU license from the noise library;
2006-02-22include proper header file, remove local extern declarationsBrian Paul
2006-02-21 Committing in .Jouk Jansen
Update OpenVMS makefiles Modified Files: Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
2006-02-15Add arbshader stage.Michal Krol
2006-01-26New comments, clean-up of fields related to point/line/triangle validation.Brian Paul
2005-12-14Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can beBrian Paul
done with fragment programs nowadays.
2005-12-07Fix bugzilla 5253. Add {} around code in RENDER_SPAN macros when code ↵Karl Schultz
includes a variable declaration.
2005-12-06C++ fixes, mostly casts (Stephane Conversy)Brian Paul
2005-12-01get depthBits from the current drawbufferBrian Paul
2005-11-20Make Saturate a 2-bit field again, renamed to SaturateMode with threeBrian Paul
possible values: SATURATE_OFF, SATURATE_ZERO_ONE and SATURATE_PLUS_MINUS_ONE.
2005-11-19No longer derive 'ati_fragment_shader' from 'program' class. Only theBrian Paul
program->Id and program->RefCount fields were used and ATI fragment shaders didn't have too much in common with ARB/NV vertex/fragment programs anyway.
2005-11-17optimize drawing GL_DEPTH_STENCIL pixels into a GL_DEPTH_STENCIL renderbufferBrian Paul
2005-11-17s/MEMCPY/_mesa_memcpy/ and fix typoBrian Paul
2005-11-17optimize case of reading GL_DEPTH_STENCIL pixels from GL_DEPTH_STENCIL ↵Brian Paul
renderbuffer
2005-11-16Use new gl_framebuffer _Depth/_StencilBuffer fields instead ofBrian Paul
Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points.
2005-11-15fix color interpolation problem reported on VMSBrian Paul
2005-11-15Fix problem in stencil_and_ztest_span() when using h/w stencil buffer.Brian Paul
Fix a comment typo. Remove some unneeded #includes.
2005-11-14remove unneeded RasterPosValid checkBrian Paul
2005-11-12Added OSMesaColorClamp(), bug 4917Brian Paul
2005-11-12update an assertionBrian Paul
2005-11-12Move stuff common to vertex/fragment_program into the base class, including:Brian Paul
Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program().
2005-11-09use UNCLAMPED_FLOAT_TO_USHORT/UBYTE in clear_rgba_buffer() (bug #4992)Brian Paul
2005-11-08At keithw's request, remove all traces of the "fragment program to C" andIan Romanick
TCC experiment.
2005-11-05use _mesa_num_inst_src_regs() instead of nr_args()Brian Paul
2005-11-05Unify vertex/fragment program instuctions.Brian Paul
Based on patch by Ian (#4967) but also unify instruction opcodes.
2005-11-05remove unneeded #includeBrian Paul
2005-11-02Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program conventionBrian Paul
2005-10-31check swrast->_FogEnabled instead of ctx->Fog.EnabledBrian Paul
2005-10-30need to use absolute value for RSQBrian Paul
2005-10-29fix LIT bugBrian Paul
2005-10-24fragment program writing to result.depth.z was brokenBrian Paul
2005-10-21check span.y >=0 (bug 4842)Brian Paul
2005-10-21fix broken SWZ instructionBrian Paul
2005-10-21fix broken KILBrian Paul