summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-10-18gallium: add some checks for null surface pointers in state trackerBrian Paul
Fixes some segfaults in low memory situations.
2008-10-17mesa: redraw upon keypress in trivial/tri.cBrian Paul
2008-10-17gallium: fix mis-matched malloc/free vs. aligned malloc/freeBrian Paul
Use aligned malloc/free for teximage data everywhere to be consistant. The mismatch didn't make any difference when HAVE_POSIX_MEMALIGN was defined.
2008-10-14trivial: more vp testsKeith Whitwell
2008-10-14vp: add simple vertex transform testKeith Whitwell
2008-10-14mesa: modify fixed function vertex programs not to reference constant attributesKeith Whitwell
2008-10-10mesa: new _mesa_set_vp_override() function for driver-override of vertex programBrian Paul
Patch provide by Keith. Used in state tracker by DrawPixels to indicate that the state tracker (driver) is using its own vertex program. This prevents the texenvprogram code from replacing conventional shader inputs with state vars. Fixes glDraw/CopyPixels regressions.
2008-10-09mesa: rasterizer state depends on ST_NEW_VERTEX_PROGRAMBrian Paul
Check for per-vertex point size must be done when vertex program changes.
2008-10-08mesa: in _mesa_combine_programs() take new STATE_CURRENT_ATTRIB color into ↵Brian Paul
account Commit 1680ef869625dc1fe9cf481b180382a34e0738e7 changed the texenv program to get color from a state register instead of a constant-valued vertex attribute. This broke program concatenation (so glDraw/CopyPixels broke). Now check if the second program get's color from a constant register and handle that case appropriately.
2008-10-07Mesa: fix the case where there are no vertex attributes.Stephane Marchesin
This is a backport of 8e8208d6db8b764568539784a6473d545dec2265 to gallium-0.1
2008-10-07trivial: add more vp testsKeith Whitwell
2008-10-07mesa: replace GLuint with GLbitfield to be clearer about usageBrian Paul
Also, fix up some comments to be doxygen style.
2008-10-07draw: don't assume output buffer pointer is alignedKeith Whitwell
2008-10-07mesa: update state after binding vertex list in dlist pathKeith Whitwell
2008-10-07trivial: exercise vertprog sligtlyKeith Whitwell
2008-10-07mesa: protect against segfault in get_fp_input_mask()Keith Whitwell
2008-10-07draw: add switch for drivers to force vertex data passthroughKeith Whitwell
2008-10-07mesa: remove old assertionBrian Paul
2008-10-06gallium: replace assertion with conditional/recovery codeBrian
The assertion failed when we ran out of exec memory. Found with conform texcombine test.
2008-10-06mesa: fix convolve/convolution mix-upsBrian
2008-10-06mesa: add missing GLcontext param to _mesa_delete_query().Brian Paul
Fixes vtk crash and others.
2008-10-06draw: Fix compiler errors on Windows.Michal Krol
2008-10-06rtasm: fix debug buildKeith Whitwell
2008-10-06make draw's vertex_info struct smaller/quicker to compare with memcmp()Keith Whitwell
2008-10-04mesa: handle vertex program enabled case also in texenvprogram.cKeith Whitwell
2008-10-03mesa: avoid generating constant vertex attributes in fixedfunc programsKeith Whitwell
Keep track of enabled/active vertex attributes. Keep track of potential vertex program outputs. When generating fragment program, replace references to fragment attributes which are effectively non-varying and non-computed passthrough attributes with references to the new CURRENT_ATTRIB tracked state value. Only downside is slight ugliness in VBO code where we need to validate state twice in succession.
2008-10-03Mesa: short-circuit case when looking up the same program twice in cacheKeith Whitwell
2008-10-03mesa: add new internal state for tracking current vertex attribsKeith Whitwell
2008-10-03mesa: add missing state dependencies for various tracked constantsKeith Whitwell
2008-10-03mesa: shrink texenvprogram state key structKeith Whitwell
2008-10-03rtasm: add sse_movntpsKeith Whitwell
2008-10-02draw: modify prefetching slightlyKeith Whitwell
2008-10-02draw: don't keep refetching constant inputsKeith Whitwell
2008-10-02rtasm: add prefetch instructionsKeith Whitwell
2008-10-02draw: add streamlined paths for fetching linear vertsKeith Whitwell
2008-10-01mesa: Fix compiler warnings on Windows.Michal Krol
2008-10-01Gallivm: add slt. glxgears should be running, except it isn't.Stephane Marchesin
2008-09-30Gallivm: port to llvm 2.4.Stephane Marchesin
2008-09-28Gallivm: fix off-by-one.Stephane Marchesin
2008-09-28Gallivm: need to link with libstdc++ for llvm.Stephane Marchesin
2008-09-28Gallivm: more instructions.Stephane Marchesin
2008-09-28Gallivm: make it compile again, add some opcodes.Stephane Marchesin
2008-09-26mesa: fix temp register allocation problems.Brian Paul
Complex texcombine modes were running out of registers (>32 registers for 8 tex units).
2008-09-26egl: check for null ptr/nameBrian Paul
2008-09-26egl: remove space after -L flagBrian Paul
2008-09-26gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program()Brian Paul
2008-09-26mesa: add some bracesBrian Paul
2008-09-25mesa: fix/simplify initialization of vertex/fragment program limitsBrian Paul
Defaults for program length, num ALU instructions, num indirections, etc. basically indicate no limit for software rendering. Driver should override as needed.
2008-09-25mesa: increase MAX_INSTRUCTIONSBrian Paul
2008-09-25mesa: fix swizzle failure, fix typoBrian Paul