summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2005-05-11VBOs.Aapo Tahkola
2005-05-11Don't let FragmentProgram._Active influence choice of vertex vs pixelKeith Whitwell
fog.
2005-05-11Previously in TXP and TEX instructions, lambda was passed toKeith Whitwell
fetch_texel as zero, but I believe this is incorrect. The spec uses a pseudocode function: vec4 TextureSample(float s, float t, float r, float lodBias, int texImageUnit, enum texTarget); to specify the behaviour of TEX, TXB and TXP instructions. For TEX and TXP, lodBias is passed as zero, TXB is passed with texcoord[4]. In our code we have static void fetch_texel( GLcontext *ctx, const GLfloat texcoord[4], GLfloat lambda, GLuint unit, GLfloat color[4] ) and were passing zero and a biased lambda value respectively. The difference is that TextureSample() would add in the lambda term itself, while in our code the caller is expected to do this. Thus in the TEX and TXP cases, it is necessary to pass an unbiased lambda value for things to work out correctly.
2005-05-11Use _mesa_memset rather than memsetKeith Whitwell
2005-05-11Don't let FragmentProgram._Active influence choice of vertex vs pixelKeith Whitwell
fog.
2005-05-11Test for texcoord[3] == zero before dividing. Not so sure about thisKeith Whitwell
test - if texcoord[3] is zero, we'd probably be fine except for an ASSERT in IROUND_POS() which gets triggered by the inf values created.
2005-05-11Fix glean/conform problems. Don't generate so much output whenKeith Whitwell
disassembling.
2005-05-11Fix valgrind complaint, conform vertex order test.Keith Whitwell
2005-05-11Rename temp_flag to temp_in_use. Use ctx->Const.MaxVertexProgramTempsKeith Whitwell
rather than MAX_NV_VERTEX_PROGRAM_TEMPS and deal with this possibly being greater than 32.
2005-05-11Fix logic for allocating texture temporaries (Ben Skeggs).Keith Whitwell
Rename temp_flag, tex_temp_flag to make this clearer. Respect ctx->Const.MaxFragmentProgramTemps limit.
2005-05-11int -> size_t to fix compile on LP64.Adam Jackson
2005-05-10Ensure programs don't overflow allocated instruction store.Keith Whitwell
2005-05-10Fix some valgrind complaintsKeith Whitwell
2005-05-10fix some valgrind complaintsKeith Whitwell
2005-05-10Improved detection of program changes.Keith Whitwell
2005-05-10Double-buffer generated instructions and only notify driver when theKeith Whitwell
generated program differs from the previous one.
2005-05-10Fix some valgrind complaintsKeith Whitwell
2005-05-10Double-buffer generated instructions and only notify driver when theKeith Whitwell
generated program differs from the previous one.
2005-05-10reduce the use of malloc and strdup for parameter listsKeith Whitwell
2005-05-10don't be fooled into emitting padding for wpos when not usedKeith Whitwell
2005-05-10Missing from previous commitKeith Whitwell
2005-05-10Update for FragmentProgram._ActiveKeith Whitwell
2005-05-10Better driver notification on changes.Keith Whitwell
2005-05-10get fog working with _TexEnvProgramKeith Whitwell
2005-05-10Temporary fix - delete and recreate texenvprogram so that driversKeith Whitwell
notice when it changes.
2005-05-10 Committing in .Jouk Jansen
OpenVMS compile support update for new buffer-code Modified Files: Mesa/src/mesa/drivers/x11/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/swrast/descrip.mms ----------------------------------------------------------------------
2005-05-10Fix texenv segfault. Reported by Ben Skeggs.Keith Whitwell
2005-05-10Try not to use the same temp reg as a TXP destination more than once,Keith Whitwell
as this also constitutes a texture indirection. Reported by Ben Skeggs.
2005-05-09pathetic attempt to accomodate new frambuffer changes (still some work to do)Daniel Borca
2005-05-09accomodate new frambuffer changesDaniel Borca
2005-05-09fix some typos in FX codeDaniel Borca
2005-05-09i915 will use _TexEnvProgram (if active)Keith Whitwell
2005-05-09Use driver functions to create TexEnvProgram, TnlProgramKeith Whitwell
2005-05-09check for null DrawBuffer valuesKeith Whitwell
2005-05-09Fallback (rather than fail) on unknown program targets.Keith Whitwell
2005-05-08dri fb works using renderbuffers now in RGBA modeJon Smirl
2005-05-07fbdri can draw double buffered now. Next step is to convert itJon Smirl
to use RenderBuffers.
2005-05-07remove some dead codeBrian Paul
2005-05-07Patches for XCB (Jeremy Kolb)Brian Paul
2005-05-07assorted warning clean-ups for x86_64, etc (Mikko T.)Brian Paul
2005-05-07x86-64 transform optimizations (Mikko T.)Brian Paul
2005-05-06fix cpp / bytesPerPixel problem (bug 1196554)Brian Paul
2005-05-06remove bad assertion, added new ones in clear_pixmap()Brian Paul
2005-05-06restore call to SetBuffer() in clear_color_buffers(), only temporaryBrian Paul
2005-05-06Updated for EXT_framebuffer_object changes. I don't know if this is correct, ↵Ben Skeggs
but it seems to work
2005-05-06Fix problem generating mode db. Miniglxtest works now.Jon Smirl
Miniglxsample is still broken with double buffering issues.
2005-05-06Missing setups that cause all kinds of problems with hw tnl.Aapo Tahkola
2005-05-05Port Mesa to build on a P64 platform (e.g., Win64). P64 platformsKarl Schultz
use 64-bit pointers and 32-bit longs. So, operations like casting pointers to unsigned long and back to pointer won't work. glheader.h now includes files to define uintptr_t, which should instead be used for this sort of operation. It is an integer type that is the same size as a pointer.
2005-05-05fix for renderbuffer (Andreas Stenglein)Brian Paul
2005-05-05remove some test codeBrian Paul