Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-07-04 | mesa: 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-04 | gallium: fix st_choose_format(internalFormat=GL_RGBA16) | Brian Paul | |
Need to check if we're choosing a surface or texture format. | |||
2008-07-04 | mesa: 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-04 | gallium: replace assertion with conditional | Brian Paul | |
2008-07-04 | mesa: generate GL_INVALID_OPERATION in _mesa_get_uniform_location() if ↵ | Brian Paul | |
program isn't linked | |||
2008-07-04 | mesa: move assertion | Brian Paul | |
2008-07-03 | mesa: added _vbo_VertexAttrib4f() | Brian Paul | |
2008-07-03 | mesa: fix incorrect array size, added assertion | Brian Paul | |
2008-07-03 | mesa: fix array storage allocation bug | Brian Paul | |
2008-07-03 | mesa: regenerated file | Brian Paul | |
2008-07-03 | mesa: additional vec4 constructor | Brian Paul | |
2008-07-03 | mesa: fix various error codes | Brian Paul | |
2008-07-03 | mesa: fix some error codes in _mesa_ShaderSourceARB() | Brian Paul | |
2008-07-03 | mesa: fix problem freeing framebuffer/renderbuffer objects | Brian Paul | |
Basically, set up no-op Delete() methods for the DummyFrame/Renderbuffer obj | |||
2008-07-03 | mesa: added case for fixed pt | Brian Paul | |
2008-07-03 | gallium: move, increase ST_MAX_SHADER_TOKENS | Brian Paul | |
2008-07-03 | gallium: fix surface memleak in bitmap code | Brian Paul | |
Found w/ tunnel2.c demo. | |||
2008-07-02 | mesa: 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-02 | gallium: 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-02 | gallium: fix a bug in vertex program output mapping | Brian 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-02 | mesa: additional GLSL built-in constants | Brian Paul | |
2008-07-02 | mesa: when linking a shader program, make sure all the shaders compiled OK | Brian Paul | |
cherry-picked from master | |||
2008-07-02 | mesa: added some debug code (disabled) | Brian Paul | |
cherry-picked from master | |||
2008-07-02 | mesa: 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-02 | mesa: regenerated file | Brian Paul | |
2008-07-02 | mesa: added some missing equal() notEqual() intrinsics | Brian Paul | |
cherry-picked from master | |||
2008-07-02 | mesa: disable some debug assertions | Brian Paul | |
We can sometimes fail these assertions because of how swizzled storage works. Will revisit someday. | |||
2008-07-02 | mesa: regenerated files | Brian Paul | |
2008-07-02 | mesa: fix all(bvec2) function typo, add missing bvec2/3/4() constuctors | Brian Paul | |
cherry-picked from master | |||
2008-07-02 | mesa: added _mesa_print_swizzle() debugging helper | Brian Paul | |
2008-07-02 | mesa: fix issues around multisample enable | Roland Scheidegger | |
multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer. | |||
2008-07-01 | mesa: fix a GLSL vector subscript/writemask bug | Brian 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-01 | mesa: move some functions | Brian Paul | |
cherry-picked from master | |||
2008-07-01 | mesa: make _slang_swizzle_swizzle() non-private | Brian Paul | |
cherry-picked from master | |||
2008-07-01 | mesa: better function inlining in the presence of 'return' statements | Brian 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-01 | mesa: add/fix some IrInfo entries for debugging purposes | Brian Paul | |
cherry-picked from master | |||
2008-06-28 | mesa: added null ptr checks | Brian Paul | |
2008-06-28 | s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv() | Brian Paul | |
2008-06-28 | mesa: check FEATURE_point_size_array | Brian Paul | |
2008-06-27 | gallium: handle msaa | Roland Scheidegger | |
2008-06-27 | mesa: Replace void * arithmetic. | José Fonseca | |
2008-06-27 | gallium: Drop pipe_texture->cpp and pipe_surface->cpp. | José Fonseca | |
The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block. | |||
2008-06-27 | mesa: Use the appropriate relocation. | José Fonseca | |
I don't fully understand this, but this matches the assembly code gcc generates glapi.c and fixes following error on x86-64 with assembly: relocation R_X86_64_PC32 against `_gl_DispatchTSD' can not be used when making a shared object | |||
2008-06-25 | mesa: point size arrays | Brian Paul | |
2008-06-24 | mesa: Fix Windows GDI winsys build. | José Fonseca | |
2008-06-24 | mesa: Use standard integer types. | José Fonseca | |
Especially get rid of the non-portable long long. | |||
2008-06-24 | mesa: Replace deprecated __MSC__ macro. | José Fonseca | |
2008-06-24 | mesa/dri: User standard integer types. | José Fonseca | |
2008-06-24 | mesa: More signed/unsigned float/integer fixes. | José Fonseca | |
2008-06-24 | mesa: Use appropriate unsigned/signed, float/integer types. | José Fonseca | |