summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* GLSL-related bug fixesBrian Paul2008-07-041-0/+7
|
* mesa: generate GL_INVALID_OPERATION in _mesa_get_uniform_location() if ↵Brian Paul2008-07-041-0/+5
| | | | program isn't linked
* mesa: remove incorrect assertionBrian Paul2008-07-041-1/+0
|
* glcontextmodes.c is required remove the reference in .gitignoreAlan Hourihane2008-07-041-1/+0
|
* mesa: fix polygon offset issue (bug #12061)Xiang, Haihao2008-07-041-2/+2
|
* mesa: fix various error codesBrian Paul2008-07-031-88/+123
|
* mesa: fix some error codes in _mesa_ShaderSourceARB()Brian Paul2008-07-031-4/+4
|
* mesa: fix problem freeing framebuffer/renderbuffer objectsBrian Paul2008-07-033-4/+29
| | | | Basically, set up no-op Delete() methods for the DummyFrame/Renderbuffer objects.
* mesa: additional error checking, fix error codesBrian Paul2008-07-031-20/+36
|
* mesa: regenerated fileBrian Paul2008-07-031-761/+763
|
* mesa: additional vec4 constructorBrian Paul2008-07-031-0/+8
|
* mesa: fix array storage allocation bugBrian Paul2008-07-031-0/+8
|
* mesa: fix incorrect array size, added assertionBrian Paul2008-07-031-1/+2
|
* mesa: fix vertex array validation test for attribute 0 (vert pos)Brian Paul2008-07-021-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 OKBrian Paul2008-07-021-0/+8
|
* mesa: added some debug code (disabled)Brian Paul2008-07-022-0/+9
|
* mesa: fix error codes in _mesa_shader_source(), _mesa_get_shader_source()Brian Paul2008-07-021-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: regeneratedBrian Paul2008-07-021-152/+163
|
* mesa: added some missing equal() notEqual() intrinsicsBrian Paul2008-07-021-0/+33
|
* mesa: regenerated filesBrian Paul2008-07-022-20/+35
|
* mesa: fix all(bvec2) function typo, add missing bvec2/3/4() constuctorsBrian Paul2008-07-022-1/+39
|
* mesa: fix issues around multisample enableRoland Scheidegger2008-07-025-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 texturesBrian Paul2008-07-021-0/+6
|
* set ctx->Const.MaxVertexTextureImageUnits = 0Brian Paul2008-07-021-1/+1
| | | | This disallows vertex shader texture sampling. See bugs 16157, 13838.
* VBO: Regenerate files based on recent changes to gl_API.xmlIan Romanick2008-07-022-2955/+2951
| | | | | Since GL_ARB_vertex_buffer_object protocol isn't supported yet, these changes are innocuous.
* Bring over commit 8d4d0b47a07a298a20ffae9fefe96c8c7ca9dccc from xserver treePaulo Cesar Pereira de Andrade2008-07-021-0/+3
|
* VBO: Add missing functions related to VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARBIan Romanick2008-07-011-0/+2
|
* VBO: add GLX related annotationsIan Romanick2008-07-011-29/+59
|
* mesa: fix a GLSL vector subscript/writemask bugBrian Paul2008-07-011-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 functionsBrian Paul2008-07-011-99/+99
|
* mesa: make _slang_swizzle_swizzle() non-privateBrian Paul2008-07-012-9/+16
|
* mesa: better function inlining in the presence of 'return' statementsBrian Paul2008-07-011-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 purposesBrian Paul2008-07-011-3/+5
|
* link to DRM 2.3.1Brian Paul2008-07-011-14/+3
|
* press 'm' to toggle multisample enable/disableBrian Paul2008-07-011-2/+10
|
* init machine->Samplers (fixes vertex program texture fetches)Brian Paul2008-07-011-0/+2
|
* dri: drop asserts to make build against stable libdrmDave Airlie2008-07-011-11/+0
| | | | These asserts are of questionable use at the moment with things in flux.
* dri: Take the base image size into account when computingXiang, Haihao2008-07-012-0/+2
| | | | first level of the mipmap. fix #16210
* autoconf: Improve the visibility of the swrast DRI driverDan Nicholson2008-06-302-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 Simpson2008-06-302-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 translationNicolai Haehnle2008-06-301-1/+1
|
* r300: Cleanup LodBias supportNicolai Haehnle2008-06-305-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 Simpson2008-06-292-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 Simpson2008-06-291-1/+1
| | | | *puts yet another paper bag over head*
* demos/shadowtex: Don't set TEXTURE_WRAP_T for 1D textureNicolai Haehnle2008-06-291-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 texturesNicolai Haehnle2008-06-293-103/+36
|
* s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv()Brian Paul2008-06-281-4/+6
|
* mesa: added null ptr checksBrian Paul2008-06-281-2/+2
|
* DRI-specific pkg-config fileDan Nicholson2008-06-273-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.
* autoconf: Check for posix_memalignDan Nicholson2008-06-271-1/+4
| | | | | Rather than just defining HAVE_POSIX_MEMALIGN on Linux, check whether the function exists on all platforms and define the macro if it is.