summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
AgeCommit message (Collapse)Author
2004-06-11just a commentBrian Paul
2004-06-11fix minor typo in commentBrian Paul
2004-06-02fix stencil index bug (#964704)Brian Paul
2004-06-02Check for NULL texture object when choosing texture sampler. Fixes segfault ↵Brian Paul
when fragment program references an incomplete texture
2004-05-25only use simple_z_textured_triangle if depthBits <= 16Brian Paul
2004-05-14Minor fixes/optimizations to type conversions in draw_depth_pixels().Brian Paul
Fix off by one errors in a few assertions.
2004-05-12Added big-endian texture formats.Brian Paul
Moved CI->RGBA palette lookup into texel fetch function.
2004-05-06fix rectangle texture clamping and border-related codeBrian Paul
2004-05-04Fix minor warnings found with g++.Brian Paul
2004-04-23Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragmentBrian Paul
program is enabled AND the currently bound program is valid. Check _Enable instead of Enable to prevent things from blowing up when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually defining a program.
2004-04-23remove some errant code from previous check-inBrian Paul
2004-04-22New glTexImage code.Brian Paul
The gl_texture_format struct now has a StoreTexImageFunc that's called by glTex[Sub]Image[123]D to convert the user's texture data into the specific texture format layout. Now it's much easier to add new texture formats (like the 16/32-bit floating point formats). The texutil.[ch] and texutil_tmp.h files are obsolete.
2004-04-21only init temp regs to zero if executing NV fragment programBrian Paul
2004-04-19do texcoord projective division in _swrast_span_default_texcoords()Brian Paul
2004-04-18Audit/fixes for NV/ARB TEX, TXP, TXB, TXD instructions.Brian Paul
Some texture instructions were using wrong LOD. Fixed interpolate_texcoords() so it doesn't do texcoord projective division when using a fragment program. The TXP instruction does that.
2004-04-15Make _SAT instructions compile correctly.Keith Whitwell
2004-04-14wrap file in #ifdef USE_TCC, otherwise compilation failesBrian Paul
2004-04-14Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compileKeith Whitwell
and execute fragment programs. Very limited and experimental, but works well enough to run arbfplight.c. http://fabrice.bellard.free.fr/tcc/ Compile with 'make linux-tcc', being sure to make clean first.
2004-04-13Build a single string containing the generated 'C' code.Keith Whitwell
2004-04-09added SPECULAR flag for sprite point functionsBrian Paul
2004-04-05 Committing in .Jouk Jansen
Correction on last commit (My FTP-server on linux is playing games with <CR>'s) Modified Files: Mesa/src/mesa/drivers/common/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/shader/arbprogparse.c Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
2004-04-05 Committing in .Jouk Jansen
Updated OpenVMS compile support due to shader directory. Removed <CR>'s in arbprogparse.c Modified Files: Mesa/src/mesa/descrip.mms Mesa/src/mesa/drivers/common/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/shader/arbprogparse.c Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
2004-04-02Implement ARB_f_p KIL correctly.Brian Paul
2004-03-30Make the output a little more likely to compile...Keith Whitwell
2004-03-30Insert original fragment program instructions as comments.Brian Paul
s/__inline/INLINE/
2004-03-30Amusing utility to print ARB_fp programs as C codeKeith Whitwell
2004-03-29fix array indexing for UP4B and UP4UBBrian Paul
2004-03-29Accomodate ARB_fp XPD opcode separately from NV_fp's X2D.Keith Whitwell
2004-03-24use Driver.WriteMonoRGBAPixels() when possible (Dan Schikore)Brian Paul
2004-03-23 Committing in .Jouk Jansen
Adding s_auxbuffer.c for compilation Modified Files: Mesa/src/mesa/swrast/descrip.mms ----------------------------------------------------------------------
2004-03-22added s_auxbuffer.cBrian Paul
2004-03-21Implemented support for software-based AUX color buffers.Brian Paul
Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
2004-03-14more TRIANGLE_WALK_DOUBLE tweaks (Justin Novosad)Brian Paul
2004-03-13Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul
Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
2004-03-09remove unneeded castsBrian Paul
2004-03-09Fix color index mode rendering.Brian Paul
Changed SWvertex's index field to GLfloat and fix a few other bits.
2004-03-03s/_swrast_exec_nv_fragment_program/_swrast_exec_fragment_program/Brian Paul
2004-02-28Remove clamp parameter from _mesa_unpack_color_span_float(). Pass theBrian Paul
IMAGE_CLAMP_BIT if needed. Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation of upcoming extensions (not fully used yet).
2004-02-28consolidate image transfer operations in new _mesa_apply_rgba_transfer_ops() ↵Brian Paul
function
2004-02-28rename some span pack/unpack functions for better uniformityBrian Paul
2004-02-28move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan()Brian Paul
2004-02-28replace color table FloatTable boolean with Type enumBrian Paul
2004-02-27move _mesa_load_state_parameters() to state validation stageBrian Paul
2004-02-27fix PK2H, UP2H, PK2US bugsBrian Paul
2004-02-17A few more tweaks to fog code.Brian Paul
Remove unneeded FABSF() macros. Added blend factor clamping in a few spots.
2004-02-17A bit of an overhaul of the fog code.Brian Paul
glFogCoord didn't always work reliably. ARB fragment program fog options work now. Per-fragment fog computations are now perspective corrected.
2004-02-17added SPAN_WBrian Paul
2004-02-17just some reformattingBrian Paul
2004-02-17Added TRIANGLE_WALK_DOUBLE to optionally walk triangle edges with GLdoublesBrian Paul
instead of GLfixed. (Justin Novosad)
2004-02-15some code clean-upsBrian Paul