aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* r300_fragprog: Emulate trigonometric functions in radeon_program_aluNicolai Haehnle2008-07-064-207/+153
|
* r300: Translate fragment program DST in radeon_program_aluNicolai Haehnle2008-07-063-36/+14
|
* r300: Translate fragment program LRP in radeon_program_alu.cNicolai Haehnle2008-07-063-45/+15
|
* r300: Allow adding parameters during fragprog transform, share LIT codeNicolai Haehnle2008-07-067-258/+216
|
* r300: Correctly scan for used temporary registersNicolai Haehnle2008-07-056-79/+126
| | | | This fixes a regression introduced by dea8719f0...
* r500: Major refactoring of fragment program emitNicolai Haehnle2008-07-053-775/+458
| | | | | | | Use the common facilities to convert non-native instructions into native ones. Worked hard to make the code easier to read (hopefully), by using helper functions instead of direct manipulation of the machine code. Fixes two bugs related to FLR and XPD.
* r300: Remove clause stuff for now in favour of a cloned generic gl_programNicolai Haehnle2008-07-0510-460/+157
|
* r500_fragprog: Cleanup some unused variables and code.Nicolai Haehnle2008-07-052-46/+1
|
* r500: Fix a mixup in fragment program LRP instruction emitNicolai Haehnle2008-07-051-5/+4
|
* r500: Fix blend color.Nicolai Haehnle2008-07-052-12/+25
|
* _mesa_clone_program: Copy ShadowSamplersNicolai Haehnle2008-07-051-0/+1
|
* r300: Fix depth texture in compare modeNicolai Haehnle2008-07-042-48/+68
| | | | Missed the homogenous divide of R by Q before...
* Enable TexGen based on InputsRead when a fragment program is activeNicolai Haehnle2008-07-041-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.
* 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
|
* 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
|
* 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
* 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