Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: fix storage size computation in emit_arith() | Brian Paul | 2008-07-15 | 1 | -2/+3 |
| | |||||
* | mesa: fix some function inlining bugs | Brian Paul | 2008-07-15 | 4 | -25/+53 |
| | | | | | | Need to add local vars of original function to the new scope's variable list (though the DECLs were already present). In slang_operation_copy() call slang_replace_scope() for SLANG_OPER_BLOCK_NEW_SCOPE opers. | ||||
* | mesa: improved printing | Brian Paul | 2008-07-15 | 1 | -6/+13 |
| | |||||
* | mesa: Silence compiler warnings on Windows. | Michal Krol | 2008-07-15 | 9 | -28/+26 |
| | |||||
* | st: Silence compiler warnings on Windows. | Michal Krol | 2008-07-15 | 8 | -24/+24 |
| | |||||
* | mesa: Silence compiler warnings on Windows. | Michal Krol | 2008-07-15 | 3 | -7/+7 |
| | |||||
* | mesa: assemble main() after all other functions | Brian Paul | 2008-07-14 | 1 | -14/+22 |
| | | | | Before, main() had to come after any functions it called. | ||||
* | mesa: comments about vectors vs components | Brian Paul | 2008-07-14 | 2 | -3/+3 |
| | |||||
* | mesa: fix stencil state problem when GL_ATI_separate_stencil wasn't enabled | Brian Paul | 2008-07-14 | 1 | -47/+49 |
| | | | | | | | | | In glStencilFunc/Op/Mask() set both the front and back-face state, unless GL_EXT_stencil_two_side is enabled. Before, we only set the front+back state if GL_ATI_separate_stencil was enabled. Ultimately, we probably should remove GL_EXT_stencil_two_side since it's incompatible with GL 2.x. | ||||
* | mesa: also check for __NetBSD__ | Blair Sadewitz | 2008-07-14 | 1 | -1/+1 |
| | |||||
* | util: Eliminate pipe from the arguments to pipe_get/put_tile_xxx functions. | José Fonseca | 2008-07-13 | 5 | -21/+21 |
| | | | | | You don't need a pipe_context * for this, and all other necessary info is already inside pipe_surface. | ||||
* | gallium: check for FEATURE_feedback and FEATURE_drawpix when creating/using ↵ | Brian Paul | 2008-07-10 | 3 | -0/+10 |
| | | | | the aux draw module | ||||
* | mesa: check for null shader->Source | Brian Paul | 2008-07-09 | 1 | -0/+3 |
| | |||||
* | mesa: return -1, not GL_FALSE if _glapi_add_dispatch() fails name sanity check | Brian Paul | 2008-07-09 | 1 | -2/+2 |
| | |||||
* | mesa: disable fprintf() error | Brian Paul | 2008-07-09 | 1 | -0/+2 |
| | |||||
* | mesa: check for OpenBSD (bug 15604) | Brian Paul | 2008-07-09 | 1 | -1/+11 |
| | | | | cherry-picked from master | ||||
* | mesa: fix state.clip[n].plane parsing bug (bug 16611) | Brian Paul | 2008-07-09 | 1 | -3/+6 |
| | | | | cherry-picked from master | ||||
* | mesa: remove debug code | Brian Paul | 2008-07-08 | 1 | -1/+0 |
| | |||||
* | mesa: implement glGetUniformiv() with new ctx->Driver function | Brian Paul | 2008-07-08 | 3 | -9/+45 |
| | | | | The old implementation could overwrite the caller's param buffer. | ||||
* | mesa: fix bug/failure in recursive function inlining | Brian Paul | 2008-07-08 | 1 | -6/+56 |
| | | | | | Fixes a failure for cases such as y = f(a, f(a, b)) All the usual tests still pass but regressions are possible... | ||||
* | mesa: more debug output | Brian Paul | 2008-07-08 | 1 | -20/+60 |
| | |||||
* | mesa: compute global var size before doing codegen | Brian Paul | 2008-07-08 | 1 | -9/+9 |
| | |||||
* | mesa: add missing VARYING case to storage_string() | Brian Paul | 2008-07-08 | 1 | -0/+2 |
| | |||||
* | mesa: added GLAPIENTRY keywords | Jonathan White | 2008-07-07 | 2 | -10/+10 |
| | |||||
* | gallium: move assertion (though not really significant) | Brian Paul | 2008-07-07 | 1 | -1/+2 |
| | |||||
* | gallium: simplify/fix buffer_offset, src_offset computation for VBO arrays | Brian Paul | 2008-07-07 | 1 | -2/+21 |
| | | | | Things broke when vertex position wasn't the first attribute. | ||||
* | mesa: Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX. | Brian Paul | 2008-07-04 | 5 | -297/+154 |
| | | | | | | Simplification in colortab.c too. cherry-picked from master (fe469007037d9d5cdbe1677d8ff7368b276e9e7c) | ||||
* | gallium: fix st_choose_format(internalFormat=GL_RGBA16) | Brian Paul | 2008-07-04 | 1 | -1/+4 |
| | | | | Need to check if we're choosing a surface or texture format. | ||||
* | mesa: Implement mutex/locking around texture object reference counting. | Brian Paul | 2008-07-04 | 8 | -213/+194 |
| | | | | | | | | 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) | ||||
* | gallium: replace assertion with conditional | Brian Paul | 2008-07-04 | 1 | -1/+2 |
| | |||||
* | mesa: generate GL_INVALID_OPERATION in _mesa_get_uniform_location() if ↵ | Brian Paul | 2008-07-04 | 1 | -0/+5 |
| | | | | program isn't linked | ||||
* | mesa: move assertion | Brian Paul | 2008-07-04 | 1 | -2/+2 |
| | |||||
* | mesa: added _vbo_VertexAttrib4f() | Brian Paul | 2008-07-03 | 2 | -0/+9 |
| | |||||
* | mesa: fix incorrect array size, added assertion | Brian Paul | 2008-07-03 | 1 | -1/+2 |
| | |||||
* | mesa: fix array storage allocation bug | Brian Paul | 2008-07-03 | 1 | -0/+8 |
| | |||||
* | mesa: regenerated file | Brian Paul | 2008-07-03 | 1 | -761/+763 |
| | |||||
* | mesa: additional vec4 constructor | Brian Paul | 2008-07-03 | 1 | -0/+8 |
| | |||||
* | mesa: fix various error codes | Brian Paul | 2008-07-03 | 1 | -94/+144 |
| | |||||
* | mesa: fix some error codes in _mesa_ShaderSourceARB() | Brian Paul | 2008-07-03 | 1 | -4/+4 |
| | |||||
* | mesa: fix problem freeing framebuffer/renderbuffer objects | Brian Paul | 2008-07-03 | 3 | -4/+62 |
| | | | | Basically, set up no-op Delete() methods for the DummyFrame/Renderbuffer obj | ||||
* | mesa: added case for fixed pt | Brian Paul | 2008-07-03 | 1 | -0/+5 |
| | |||||
* | gallium: move, increase ST_MAX_SHADER_TOKENS | Brian Paul | 2008-07-03 | 2 | -3/+7 |
| | |||||
* | gallium: fix surface memleak in bitmap code | Brian Paul | 2008-07-03 | 1 | -0/+5 |
| | | | | Found w/ tunnel2.c demo. | ||||
* | mesa: fix vertex array validation test for attribute 0 (vert pos) | Brian Paul | 2008-07-02 | 1 | -8/+12 |
| | | | | | | | We don't actually need vertex array[0] enabled when using a vertex program/shader. cherry-picked from master | ||||
* | gallium: replace an assertion with "if (!texobj) continue" | Brian Paul | 2008-07-02 | 1 | -1/+2 |
| | | | | | | 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. | ||||
* | gallium: fix a bug in vertex program output mapping | Brian Paul | 2008-07-02 | 1 | -9/+24 |
| | | | | | | | 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. | ||||
* | mesa: additional GLSL built-in constants | Brian Paul | 2008-07-02 | 2 | -13/+20 |
| | |||||
* | mesa: when linking a shader program, make sure all the shaders compiled OK | Brian Paul | 2008-07-02 | 1 | -0/+8 |
| | | | | cherry-picked from master | ||||
* | mesa: added some debug code (disabled) | Brian Paul | 2008-07-02 | 2 | -0/+9 |
| | | | | cherry-picked from master | ||||
* | mesa: fix error codes in _mesa_shader_source(), _mesa_get_shader_source() | Brian Paul | 2008-07-02 | 1 | -2/+12 |
| | | | | | | | | | 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 |