summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
Commit message (Collapse)AuthorAgeFilesLines
* mesa: regenerated fileBrian Paul2008-07-171-482/+483
|
* mesa: fix/improve the atan(y,x) functionBrian Paul2008-07-171-10/+11
|
* mesa: regenerated fileBrian Paul2008-07-161-18/+18
|
* mesa: fix temp re-use bug in emit_arith()Brian Paul2008-07-161-8/+20
|
* mesa: fix copy&paste errors in degrees() functionsBrian Paul2008-07-161-3/+3
|
* mesa: regenerated fileBrian Paul2008-07-151-378/+380
|
* mesa: add missing IR_LOG2 caseBrian Paul2008-07-151-2/+3
|
* mesa: fix some broken /= operatorsBrian Paul2008-07-151-3/+4
|
* mesa: fix some broken bool, bvec2, bvec3, bvec4 constructorsBrian Paul2008-07-151-14/+14
|
* mesa: fix storage size computation in emit_arith()Brian Paul2008-07-151-2/+3
|
* mesa: assemble main() after all other functionsBrian Paul2008-07-141-14/+22
| | | | Before, main() had to come after any functions it called.
* mesa: check for null shader->SourceBrian Paul2008-07-141-0/+3
|
* r500: Add "Not quite SSA" and dead code elimination passNicolai Haehnle2008-07-122-12/+62
| | | | In addition, this pass fixes non-native swizzles.
* mesa: fix state.clip[n].plane parsing bug (bug 16611)Brian Paul2008-07-091-3/+6
|
* mesa: implement glGetUniformiv() with new ctx->Driver functionBrian Paul2008-07-081-4/+41
| | | | The old implementation could overwrite the caller's param buffer.
* mesa: more debug outputBrian Paul2008-07-081-22/+62
|
* mesa: compute global var size before doing codegenBrian Paul2008-07-081-9/+9
|
* mesa: add missing VARYING case to storage_string()Brian Paul2008-07-081-0/+2
|
* _mesa_clone_program: Copy ShadowSamplersNicolai Haehnle2008-07-051-0/+1
|
* mesa: generate GL_INVALID_OPERATION in _mesa_get_uniform_location() if ↵Brian Paul2008-07-041-0/+5
| | | | program isn't linked
* mesa: fix various error codesBrian Paul2008-07-031-88/+123
|
* 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: 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
|
* generate a link error if the vertex shader references too many texturesBrian Paul2008-07-021-0/+6
|
* 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
|
* 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
|
* silly bug: it's PROGRAM_VARYINGZack Rusin2008-06-121-1/+1
|
* glsl: make sure we replace all output reads with temporariesZack Rusin2008-06-123-7/+10
| | | | test in if.glsl
* glsl: allow uniformsZack Rusin2008-06-121-1/+2
|
* glsl: fix array size initialiazers using const variablesZack Rusin2008-06-121-2/+26
| | | | | | e.g. const int kernelSize = 9; uniform vec2 kernel[kernelSize];
* almost forgot - RelAddr is a boolean so use it hereZack Rusin2008-06-121-1/+1
|
* shaders: fix allocation of arrays of parametersZack Rusin2008-06-121-1/+23
|
* glsl: implement variable array indexesZack Rusin2008-06-124-12/+24
|
* Set the attribute as used.Brian Paul2008-06-041-0/+3
| | | | cherry-picked from gallium-0.1
* updated for latest sourcesJouk Jansen2008-05-271-3/+4
|