summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2008-07-09mesa: return -1, not GL_FALSE if _glapi_add_dispatch() fails name sanity checkBrian Paul
2008-07-09mesa: disable fprintf() errorBrian Paul
2008-07-09mesa: check for OpenBSD (bug 15604)Brian Paul
cherry-picked from master
2008-07-09mesa: fix state.clip[n].plane parsing bug (bug 16611)Brian Paul
cherry-picked from master
2008-07-08mesa: remove debug codeBrian Paul
2008-07-08mesa: implement glGetUniformiv() with new ctx->Driver functionBrian Paul
The old implementation could overwrite the caller's param buffer.
2008-07-08mesa: fix bug/failure in recursive function inliningBrian Paul
Fixes a failure for cases such as y = f(a, f(a, b)) All the usual tests still pass but regressions are possible...
2008-07-08mesa: more debug outputBrian Paul
2008-07-08mesa: compute global var size before doing codegenBrian Paul
2008-07-08mesa: add missing VARYING case to storage_string()Brian Paul
2008-07-07mesa: added GLAPIENTRY keywordsJonathan White
2008-07-07gallium: move assertion (though not really significant)Brian Paul
2008-07-07gallium: simplify/fix buffer_offset, src_offset computation for VBO arraysBrian Paul
Things broke when vertex position wasn't the first attribute.
2008-07-04mesa: Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX.Brian Paul
Simplification in colortab.c too. cherry-picked from master (fe469007037d9d5cdbe1677d8ff7368b276e9e7c)
2008-07-04gallium: fix st_choose_format(internalFormat=GL_RGBA16)Brian Paul
Need to check if we're choosing a surface or texture format.
2008-07-04mesa: Implement mutex/locking around texture object reference counting.Brian Paul
Use new _mesa_reference_texobj() function for referencing/unreferencing textures. Add new assertions/tests to try to detect invalid usage of deleted textures. cherry-picked from master (9e01b915f1243a3f551cb795b7124bd1e52ca15f)
2008-07-04gallium: replace assertion with conditionalBrian Paul
2008-07-04mesa: generate GL_INVALID_OPERATION in _mesa_get_uniform_location() if ↵Brian Paul
program isn't linked
2008-07-04mesa: move assertionBrian Paul
2008-07-03mesa: added _vbo_VertexAttrib4f()Brian Paul
2008-07-03mesa: fix incorrect array size, added assertionBrian Paul
2008-07-03mesa: fix array storage allocation bugBrian Paul
2008-07-03mesa: regenerated fileBrian Paul
2008-07-03mesa: additional vec4 constructorBrian Paul
2008-07-03mesa: fix various error codesBrian Paul
2008-07-03mesa: fix some error codes in _mesa_ShaderSourceARB()Brian Paul
2008-07-03mesa: fix problem freeing framebuffer/renderbuffer objectsBrian Paul
Basically, set up no-op Delete() methods for the DummyFrame/Renderbuffer obj
2008-07-03mesa: added case for fixed ptBrian Paul
2008-07-03gallium: move, increase ST_MAX_SHADER_TOKENSBrian Paul
2008-07-03gallium: fix surface memleak in bitmap codeBrian Paul
Found w/ tunnel2.c demo.
2008-07-02mesa: fix vertex array validation test for attribute 0 (vert pos)Brian Paul
We don't actually need vertex array[0] enabled when using a vertex program/shader. cherry-picked from master
2008-07-02gallium: replace an assertion with "if (!texobj) continue"Brian Paul
It's possible to call update_samplers() between the time a fragment shader is bound and when a texture image is defined (such as glClear). This fixes the case where we don't have a complete texture object yet.
2008-07-02gallium: fix a bug in vertex program output mappingBrian Paul
Need to translate VERT_RESULT_PSIZ, BFC0, BFC1 to TGSI shader output slots after all other attributes have been handled. This fixes a bug where generic vertex program outputs (varying vars) could get mapped to the same slot at point size or back-face colors.
2008-07-02mesa: additional GLSL built-in constantsBrian Paul
2008-07-02mesa: when linking a shader program, make sure all the shaders compiled OKBrian Paul
cherry-picked from master
2008-07-02mesa: added some debug code (disabled)Brian Paul
cherry-picked from master
2008-07-02mesa: fix error codes in _mesa_shader_source(), _mesa_get_shader_source()Brian Paul
If the 'shader' parameter is wrong, need to either generate GL_INVALID_VALUE or GL_INVALID_OPERATION. It depends on whether 'shader' actually names a 'program' or is a totally unknown ID. There might be other cases to fix... cherry-picked from master
2008-07-02mesa: regenerated fileBrian Paul
2008-07-02mesa: added some missing equal() notEqual() intrinsicsBrian Paul
cherry-picked from master
2008-07-02mesa: disable some debug assertionsBrian Paul
We can sometimes fail these assertions because of how swizzled storage works. Will revisit someday.
2008-07-02mesa: regenerated filesBrian Paul
2008-07-02mesa: fix all(bvec2) function typo, add missing bvec2/3/4() constuctorsBrian Paul
cherry-picked from master
2008-07-02mesa: added _mesa_print_swizzle() debugging helperBrian Paul
2008-07-02mesa: fix issues around multisample enableRoland Scheidegger
multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer.
2008-07-01mesa: fix a GLSL vector subscript/writemask bugBrian Paul
This fixes a failure for cases like: vec4 v; v[1] *= 2.0; The v[1] actually acts like a writemask, equivalent to v.y The fix is a bit convoluted, but will do for now. cherry-picked from master
2008-07-01mesa: move some functionsBrian Paul
cherry-picked from master
2008-07-01mesa: make _slang_swizzle_swizzle() non-privateBrian Paul
cherry-picked from master
2008-07-01mesa: better function inlining in the presence of 'return' statementsBrian Paul
Before, the presence of a 'return' statement always prevented inlining a function. This was because we didn't want to accidentally return from the _calling_ function. We still need the semantic of 'return' when inlining but we can't always use unconditional branches/jumps (GPUs don't always support arbitrary branching). Now, we allow inlining functions w/ return if the return is the last statement in the function. This fixes the common case of a function that returns a value, such as: vec4 square(const in vec4 x) { return x * x; } which effectively compiles into: vec4 square(const in vec4 x) { __retVal = x * x; return; } The 'return' can be no-op'd now and we can inline the function. cherry-picked from master
2008-07-01mesa: add/fix some IrInfo entries for debugging purposesBrian Paul
cherry-picked from master
2008-06-28mesa: added null ptr checksBrian Paul