Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300_fragprog: Emulate trigonometric functions in radeon_program_alu | Nicolai Haehnle | 2008-07-06 | 4 | -207/+153 |
| | |||||
* | r300: Translate fragment program DST in radeon_program_alu | Nicolai Haehnle | 2008-07-06 | 3 | -36/+14 |
| | |||||
* | r300: Translate fragment program LRP in radeon_program_alu.c | Nicolai Haehnle | 2008-07-06 | 3 | -45/+15 |
| | |||||
* | r300: Allow adding parameters during fragprog transform, share LIT code | Nicolai Haehnle | 2008-07-06 | 7 | -258/+216 |
| | |||||
* | r300: Correctly scan for used temporary registers | Nicolai Haehnle | 2008-07-05 | 6 | -79/+126 |
| | | | | This fixes a regression introduced by dea8719f0... | ||||
* | r500: Major refactoring of fragment program emit | Nicolai Haehnle | 2008-07-05 | 3 | -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_program | Nicolai Haehnle | 2008-07-05 | 10 | -460/+157 |
| | |||||
* | r500_fragprog: Cleanup some unused variables and code. | Nicolai Haehnle | 2008-07-05 | 2 | -46/+1 |
| | |||||
* | r500: Fix a mixup in fragment program LRP instruction emit | Nicolai Haehnle | 2008-07-05 | 1 | -5/+4 |
| | |||||
* | r500: Fix blend color. | Nicolai Haehnle | 2008-07-05 | 2 | -12/+25 |
| | |||||
* | _mesa_clone_program: Copy ShadowSamplers | Nicolai Haehnle | 2008-07-05 | 1 | -0/+1 |
| | |||||
* | r300: Fix depth texture in compare mode | Nicolai Haehnle | 2008-07-04 | 2 | -48/+68 |
| | | | | Missed the homogenous divide of R by Q before... | ||||
* | 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. | ||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | 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 | ||||
* | 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 |