summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
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-07mesa: replace GLuint with GLbitfield to be clearer about usageBrian Paul
Also, fix up some comments to be doxygen style.
2008-10-07mesa: update state after binding vertex list in dlist pathKeith Whitwell
2008-10-07mesa: protect against segfault in get_fp_input_mask()Keith Whitwell
2008-10-07mesa: remove old assertionBrian Paul
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-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-01mesa: Fix compiler warnings on Windows.Michal Krol
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-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
2008-09-25mesa: fix default buffer object access valueBrian Paul
2008-09-19mesa: Fix compiler error.Michal Krol
2008-09-19mesa: Fix arb parse constantsBrian Paul
2008-09-18gallium: if we run out of memory in st_TexImage, flush and try again.Brian Paul
If the driver buffers a scene flushing should release old textures and make space for new ones. Fixes problem with texdown.c test.
2008-09-17gallium: fix fog vs. pointcoord attribute handling in mesa->TGSI conversionBrian Paul
2008-09-17mesa: new gl_fragment_program fields indicating use of fog, front-facing, ↵Brian Paul
point coord
2008-09-17gallium: clean-up/fix msaa override in state trackerBrian Paul
2008-09-17mesa: update program->NumAddressRegs field in _slang_update_inputs_outputs()Brian Paul
2008-09-17gallium: include prog_print.h to silence warningBrian Paul
2008-09-17gallium: need to finish, not flush, in st_copy_texsubimage()Brian Paul
2008-09-17gallium: new assertion on surface->textureBrian Paul
2008-09-17tgsi: Add a ugly fix for CONSTANT problemsJakob Bornecrantz
2008-09-17tgsi: More debug printing on sanity check errorJakob Bornecrantz
2008-09-17mesa: fix bug in previous changes to _slang_resolve_attributes()Brian Paul
2008-09-16mesa: rework GLSL vertex attribute bindingBrian Paul
Calls to glBindAttribLocation() should not take effect until the next time that glLinkProgram() is called. gl_shader_program::Attributes now just contains user-defined bindings. gl_shader_program::VertexProgram->Attributes contains the actual/final bindings.
2008-09-16gallium: fix glTexImage(width=height=depth=0) caseBrian Paul
Free old teximage/level data, then stop.
2008-09-16mesa: fix display list regression (check if save->prim_count > 0 in ↵Brian Paul
vbo_save_EndList())
2008-09-16mesa: fix bug in get_uniform_rows_cols(): sometimes returned too many rowsBrian Paul
2008-09-16gallium: move _vbo_DestroyContext() callBrian Paul
Call it before freeing core Mesa state to avoid references to freed buffer objects.
2008-09-16mesa: protect against double-free in _vbo_DestroyContext()Brian Paul
2008-09-16mesa: State tracker now checks for faulty shaders on debugJakob Bornecrantz
2008-09-15mesa: fix MSAA enable state in update_multisample()Brian Paul
2008-09-15mesa: remove some assertions that are invalid during context tear-downBrian Paul
2008-09-15mesa: get another class of degenerate dlists workingKeith Whitwell
Primitive begin in one dlist, end in another.
2008-09-05gallium: document that clear color is intentionally always ↵Brian Paul
PIPE_FORMAT_A8R8G8B8_UNORM
2008-09-05mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib()Brian Paul
2008-09-05mesa: _mesa_program_state_string() returns char *, not const char *.Michal Krol
2008-09-04mesa: improved gl_buffer_object reference countingBrian Paul
Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView.