summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-10-1020-73/+343
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * mesa: replace GLuint with GLbitfield to be clearer about usageBrian Paul2008-10-077-20/+22
| | | | | | | | Also, fix up some comments to be doxygen style.
| * mesa: update state after binding vertex list in dlist pathKeith Whitwell2008-10-071-0/+5
| |
| * mesa: protect against segfault in get_fp_input_mask()Keith Whitwell2008-10-071-1/+4
| |
| * mesa: remove old assertionBrian Paul2008-10-071-2/+0
| |
| * 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.
| * 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
| |
| * mesa: Fix compiler warnings on Windows.Michal Krol2008-10-012-2/+2
| |
| * 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).
| * 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
| |
* | Mesa: fix the case where there are no vertex attributes.Stephane Marchesin2008-10-061-0/+2
| |
* | mesa: Fix compiler warnings on Windows.Michal Krol2008-10-022-2/+2
| |
* | mesa: fix temp register allocation problems.Brian Paul2008-10-021-0/+15
| | | | | | | | Complex texcombine modes were running out of registers (>32 registers for 8 tex units).
* | cell: Fixed usage of MAX_INSTRUCTIONS to use new MAX_PROGRAM_INSTRUCTIONS ↵Jonathan White2008-09-301-10/+4
| | | | | | | | instead of old MAX_NV_XXX definitions in order to allow Cell TGSI fragment program generator to work again.
* | st: add prototype for st_get_framebuffer_dimensions()Alan Hourihane2008-09-262-2/+5
| |
* | st: export st_get_framebuffer_dimensions() to retrieveAlan Hourihane2008-09-261-0/+7
| | | | | | | | the width & height of the fb
* | mesa: fix incorrect parameter orderBrian Paul2008-09-261-3/+3
| |
* | mesa: remove const qualifiers to match device driver interface functionBrian Paul2008-09-261-2/+2
| |
* | 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-262-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-261-4/+2
| |
* | mesa: fix swizzle failure, fix typoBrian Paul2008-09-261-3/+5
| |
* | mesa: fix default buffer object access valueBrian Paul2008-09-261-2/+9
| |
* | st: change from ** to * for st_unreference_framebuffer()Alan Hourihane2008-09-262-3/+3
| |
* | mesa: fix indentingKeith Whitwell2008-09-261-14/+14
| |
* | dri: remove unused files present only on gallium-0.2 branchKeith Whitwell2008-09-262-638/+0
| |
* | Merge commit 'origin/master' into HEADKeith Whitwell2008-09-2610-33/+53
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/vbo/vbo.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_exec_draw.c
| * | mesa: fix cast/conversion for optional codeBrian2008-09-252-5/+7
| | |
| * | mesa: fix typo (s/feadback/feedback/). Fixes broken selection/feedback.Brian Paul2008-09-251-2/+2
| | |
| * | mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE)Brian Paul2008-09-252-3/+3
| | |
| * | mesa: fix some VBO buffer object issuesBrian Paul2008-09-252-11/+23
| | | | | | | | | | | | | | | | | | The VBO module may use a real VBO or a malloc'd buffer for vertex storage. Be careful not to accidentally replace the later with the former when drawing. Check if using a real VBO at destroy time to prevent a double-free.
| * | mesa: fix function params to match prototypesSam Hocevar2008-09-251-5/+5
| | |
| * | mesa: prevent the slang code generator from aborting when faced with a ↵Sam Hocevar2008-09-251-1/+5
| | | | | | | | | | | | sampler variable redeclaration.
| * | i965: support for sin() and cos() in vertex shaders.Sam Hocevar2008-09-251-0/+6
| | |
| * | i965: more meaningful message for unsupported opcodes.Sam Hocevar2008-09-252-3/+8
| | |