Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Enable TexGen based on InputsRead when a fragment program is active | Nicolai Haehnle | 2008-07-04 | 1 | -10/+18 | |
| | | | | | | | The old behaviour depended on which texture images the fragment program reads from, which seems to contradict the shader specifications. Note: Piglit's general/texgen test checks for this problem. | |||||
* | GLSL-related bug fixes | Brian Paul | 2008-07-04 | 1 | -0/+7 | |
| | ||||||
* | mesa: generate GL_INVALID_OPERATION in _mesa_get_uniform_location() if ↵ | Brian Paul | 2008-07-04 | 1 | -0/+5 | |
| | | | | program isn't linked | |||||
* | mesa: remove incorrect assertion | Brian Paul | 2008-07-04 | 1 | -1/+0 | |
| | ||||||
* | glcontextmodes.c is required remove the reference in .gitignore | Alan Hourihane | 2008-07-04 | 1 | -1/+0 | |
| | ||||||
* | mesa: fix polygon offset issue (bug #12061) | Xiang, Haihao | 2008-07-04 | 1 | -2/+2 | |
| | ||||||
* | mesa: fix various error codes | Brian Paul | 2008-07-03 | 1 | -88/+123 | |
| | ||||||
* | 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/+29 | |
| | | | | Basically, set up no-op Delete() methods for the DummyFrame/Renderbuffer objects. | |||||
* | mesa: additional error checking, fix error codes | Brian Paul | 2008-07-03 | 1 | -20/+36 | |
| | ||||||
* | 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 array storage allocation bug | Brian Paul | 2008-07-03 | 1 | -0/+8 | |
| | ||||||
* | mesa: fix incorrect array size, added assertion | Brian Paul | 2008-07-03 | 1 | -1/+2 | |
| | ||||||
* | mesa: fix vertex array validation test for attribute 0 (vert pos) | Brian Paul | 2008-07-02 | 1 | -11/+12 | |
| | | | | | We don't actually need vertex array[0] enabled when using a vertex program/shader. | |||||
* | mesa: when linking a shader program, make sure all the shaders compiled OK | Brian Paul | 2008-07-02 | 1 | -0/+8 | |
| | ||||||
* | mesa: added some debug code (disabled) | Brian Paul | 2008-07-02 | 2 | -0/+9 | |
| | ||||||
* | 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... | |||||
* | mesa: regenerated | Brian Paul | 2008-07-02 | 1 | -152/+163 | |
| | ||||||
* | mesa: added some missing equal() notEqual() intrinsics | Brian Paul | 2008-07-02 | 1 | -0/+33 | |
| | ||||||
* | mesa: regenerated files | Brian Paul | 2008-07-02 | 2 | -20/+35 | |
| | ||||||
* | mesa: fix all(bvec2) function typo, add missing bvec2/3/4() constuctors | Brian Paul | 2008-07-02 | 2 | -1/+39 | |
| | ||||||
* | mesa: fix issues around multisample enable | Roland Scheidegger | 2008-07-02 | 5 | -3/+21 | |
| | | | | | multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer. | |||||
* | generate a link error if the vertex shader references too many textures | Brian Paul | 2008-07-02 | 1 | -0/+6 | |
| | ||||||
* | set ctx->Const.MaxVertexTextureImageUnits = 0 | Brian Paul | 2008-07-02 | 1 | -1/+1 | |
| | | | | This disallows vertex shader texture sampling. See bugs 16157, 13838. | |||||
* | VBO: Regenerate files based on recent changes to gl_API.xml | Ian Romanick | 2008-07-02 | 2 | -2955/+2951 | |
| | | | | | Since GL_ARB_vertex_buffer_object protocol isn't supported yet, these changes are innocuous. | |||||
* | Bring over commit 8d4d0b47a07a298a20ffae9fefe96c8c7ca9dccc from xserver tree | Paulo Cesar Pereira de Andrade | 2008-07-02 | 1 | -0/+3 | |
| | ||||||
* | VBO: Add missing functions related to VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB | Ian Romanick | 2008-07-01 | 1 | -0/+2 | |
| | ||||||
* | VBO: add GLX related annotations | Ian Romanick | 2008-07-01 | 1 | -29/+59 | |
| | ||||||
* | mesa: fix a GLSL vector subscript/writemask bug | Brian Paul | 2008-07-01 | 1 | -47/+90 | |
| | | | | | | | | | 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. | |||||
* | mesa: move some functions | Brian Paul | 2008-07-01 | 1 | -99/+99 | |
| | ||||||
* | mesa: make _slang_swizzle_swizzle() non-private | Brian Paul | 2008-07-01 | 2 | -9/+16 | |
| | ||||||
* | mesa: better function inlining in the presence of 'return' statements | Brian Paul | 2008-07-01 | 1 | -23/+105 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | mesa: add/fix some IrInfo entries for debugging purposes | Brian Paul | 2008-07-01 | 1 | -3/+5 | |
| | ||||||
* | link to DRM 2.3.1 | Brian Paul | 2008-07-01 | 1 | -14/+3 | |
| | ||||||
* | press 'm' to toggle multisample enable/disable | Brian Paul | 2008-07-01 | 1 | -2/+10 | |
| | ||||||
* | init machine->Samplers (fixes vertex program texture fetches) | Brian Paul | 2008-07-01 | 1 | -0/+2 | |
| | ||||||
* | dri: drop asserts to make build against stable libdrm | Dave Airlie | 2008-07-01 | 1 | -11/+0 | |
| | | | | These asserts are of questionable use at the moment with things in flux. | |||||
* | dri: Take the base image size into account when computing | Xiang, Haihao | 2008-07-01 | 2 | -0/+2 | |
| | | | | first level of the mipmap. fix #16210 | |||||
* | autoconf: Improve the visibility of the swrast DRI driver | Dan Nicholson | 2008-06-30 | 2 | -6/+8 | |
| | | | | | Improve the --with-dri-drivers help text so that users are aware that they should install the swrast DRI driver. | |||||
* | r3xx/r5xx: Enable ARB_point_parameters. | Corbin Simpson | 2008-06-30 | 2 | -0/+30 | |
| | | | | | | This isn't complete yet. It does cover the two most common usage cases, though, and at least the third one (POINT_DISTANCE_ATTENUATION) is possible, so I'll do that later. | |||||
* | r300: Fix dumb mistake in LOD bias translation | Nicolai Haehnle | 2008-06-30 | 1 | -1/+1 | |
| | ||||||
* | r300: Cleanup LodBias support | Nicolai Haehnle | 2008-06-30 | 5 | -115/+25 | |
| | | | | | | | | | | | | | | . There is both a per-texture unit and a per-texture object (at least for OpenGL 1.4); this should now be supported properly. . The LOD bias calculation in r300_state has been simplified and corrected (need to multiply by 32 instead of 31, and ensure clamping) . do not clamp LOD bias in TexEnv, as that behaviour conflicts with what the spec says . set Const.MaxTextureLodBias properly . remove the no_neg_lod_bias property; if somebody can explain what it's good for, we can add it back in, but according to Google, nobody seems to use it . removed some dead code and unused variables | |||||
* | r300: Change LOD bias emission to more closely follow per-tex rules. | Corbin Simpson | 2008-06-29 | 2 | -4/+12 | |
| | | | | Okay, this time it's for real, and for good. This should be a perma-fix. | |||||
* | Revert accidental edit to progs/demos/lodbias. | Corbin Simpson | 2008-06-29 | 1 | -1/+1 | |
| | | | | *puts yet another paper bag over head* | |||||
* | demos/shadowtex: Don't set TEXTURE_WRAP_T for 1D texture | Nicolai Haehnle | 2008-06-29 | 1 | -1/+0 | |
| | | | | | | The operation doesn't really make sense. It triggered a bug in the r300 DRI driver (and possibly other drivers that simulate 1D textures via 2D textures). I've added an isolated test case for this bug to Piglit, so everybody wins. | |||||
* | r300: Fix wrap mode for 1D textures | Nicolai Haehnle | 2008-06-29 | 3 | -103/+36 | |
| | ||||||
* | s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv() | Brian Paul | 2008-06-28 | 1 | -4/+6 | |
| | ||||||
* | mesa: added null ptr checks | Brian Paul | 2008-06-28 | 1 | -2/+2 | |
| | ||||||
* | DRI-specific pkg-config file | Dan Nicholson | 2008-06-27 | 3 | -1/+23 | |
| | | | | | | | Since the gl pkg-config file doesn't convey any specifics about the backend in use, this adds a new pkg-config file for when DRI is in use. This can be used by the xserver build to determine if the DRI and/or GLX extensions are appropriate. |