summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-10-1040-122/+769
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/gallivm/instructionssoa.cpp src/gallium/auxiliary/gallivm/soabuiltins.c src/gallium/auxiliary/rtasm/rtasm_x86sse.c src/gallium/auxiliary/rtasm/rtasm_x86sse.h src/mesa/main/texenvprogram.c src/mesa/shader/arbprogparse.c src/mesa/shader/prog_statevars.c src/mesa/state_tracker/st_draw.c src/mesa/vbo/vbo_exec_draw.c
| * mesa: rasterizer state depends on ST_NEW_VERTEX_PROGRAMBrian Paul2008-10-091-1/+4
| | | | | | | | Check for per-vertex point size must be done when vertex program changes.
| * mesa: in _mesa_combine_programs() take new STATE_CURRENT_ATTRIB color into ↵Brian Paul2008-10-081-5/+36
| | | | | | | | | | | | | | | | | | | | 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.
| * Mesa: fix the case where there are no vertex attributes.Stephane Marchesin2008-10-071-0/+2
| | | | | | | | This is a backport of 8e8208d6db8b764568539784a6473d545dec2265 to gallium-0.1
| * trivial: add more vp testsKeith Whitwell2008-10-073-0/+210
| |
| * mesa: replace GLuint with GLbitfield to be clearer about usageBrian Paul2008-10-077-20/+22
| | | | | | | | Also, fix up some comments to be doxygen style.
| * draw: don't assume output buffer pointer is alignedKeith Whitwell2008-10-071-1/+1
| |
| * mesa: update state after binding vertex list in dlist pathKeith Whitwell2008-10-071-0/+5
| |
| * trivial: exercise vertprog sligtlyKeith Whitwell2008-10-072-0/+104
| |
| * mesa: protect against segfault in get_fp_input_mask()Keith Whitwell2008-10-071-1/+4
| |
| * draw: add switch for drivers to force vertex data passthroughKeith Whitwell2008-10-074-19/+33
| |
| * mesa: remove old assertionBrian Paul2008-10-071-2/+0
| |
| * gallium: replace assertion with conditional/recovery codeBrian2008-10-061-1/+5
| | | | | | | | | | The assertion failed when we ran out of exec memory. Found with conform texcombine test.
| * mesa: fix convolve/convolution mix-upsBrian2008-10-063-5/+5
| |
| * mesa: add missing GLcontext param to _mesa_delete_query().Brian Paul2008-10-062-2/+2
| | | | | | | | Fixes vtk crash and others.
| * draw: Fix compiler errors on Windows.Michal Krol2008-10-061-3/+3
| |
| * rtasm: fix debug buildKeith Whitwell2008-10-061-1/+1
| |
| * make draw's vertex_info struct smaller/quicker to compare with memcmp()Keith Whitwell2008-10-069-29/+59
| |
| * mesa: handle vertex program enabled case also in texenvprogram.cKeith Whitwell2008-10-041-5/+4
| |
| * mesa: avoid generating constant vertex attributes in fixedfunc programsKeith Whitwell2008-10-037-13/+177
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Mesa: short-circuit case when looking up the same program twice in cacheKeith Whitwell2008-10-032-9/+22
| |
| * mesa: add new internal state for tracking current vertex attribsKeith Whitwell2008-10-036-26/+56
| |
| * mesa: add missing state dependencies for various tracked constantsKeith Whitwell2008-10-031-0/+20
| |
| * mesa: shrink texenvprogram state key structKeith Whitwell2008-10-031-5/+7
| |
| * rtasm: add sse_movntpsKeith Whitwell2008-10-032-0/+14
| |
| * draw: modify prefetching slightlyKeith Whitwell2008-10-021-4/+15
| |
| * draw: don't keep refetching constant inputsKeith Whitwell2008-10-026-62/+144
| |
| * rtasm: add prefetch instructionsKeith Whitwell2008-10-022-0/+31
| |
| * draw: add streamlined paths for fetching linear vertsKeith Whitwell2008-10-023-66/+134
| |
| * mesa: Fix compiler warnings on Windows.Michal Krol2008-10-012-2/+2
| |
| * Gallivm: add slt. glxgears should be running, except it isn't.Stephane Marchesin2008-10-014-66/+101
| |
| * Gallivm: port to llvm 2.4.Stephane Marchesin2008-09-306-149/+150
| |
| * Gallivm: fix off-by-one.Stephane Marchesin2008-09-281-1/+1
| |
| * Gallivm: need to link with libstdc++ for llvm.Stephane Marchesin2008-09-281-1/+1
| |
| * Gallivm: more instructions.Stephane Marchesin2008-09-283-8/+73
| |
| * Gallivm: make it compile again, add some opcodes.Stephane Marchesin2008-09-285-485/+771
| |
| * mesa: fix temp register allocation problems.Brian Paul2008-09-261-0/+15
| | | | | | | | Complex texcombine modes were running out of registers (>32 registers for 8 tex units).
| * egl: check for null ptr/nameBrian Paul2008-09-261-1/+4
| |
| * egl: remove space after -L flagBrian Paul2008-09-261-1/+1
| |
| * gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program()Brian Paul2008-09-263-4/+4
| |
| * mesa: add some bracesBrian Paul2008-09-261-1/+2
| |
| * mesa: fix/simplify initialization of vertex/fragment program limitsBrian Paul2008-09-252-30/+27
| | | | | | | | | | | | Defaults for program length, num ALU instructions, num indirections, etc. basically indicate no limit for software rendering. Driver should override as needed.
| * mesa: increase MAX_INSTRUCTIONSBrian Paul2008-09-251-4/+2
| |
| * mesa: fix swizzle failure, fix typoBrian Paul2008-09-251-3/+5
| |
| * mesa: fix default buffer object access valueBrian Paul2008-09-251-2/+9
| |
* | cell: fix incorrect bitmask in spe_load_uint()Brian Paul2008-10-091-1/+1
| |
* | mesa: toggle colormask values with r/g/b keys in tri-mask-tri.cBrian Paul2008-10-091-60/+63
| | | | | | | | Plus misc clean-up.
* | cell: implement basic TXP instruction in fragment shadersBrian Paul2008-10-093-24/+138
| | | | | | | | | | | | Lots of restrictions for now (one 2D texture, no mipmaps, etc.) for now but basic texture demos work. TEX, TXD, TXP do the same thing for the time being.
* | mesa: simple multiple textures testBrian Paul2008-10-092-0/+305
| |
* | cell: better immediate value allocation, better commentsBrian Paul2008-10-091-19/+20
| |