Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: generate GL_INVALID_OPERATION in _mesa_get_uniform_location() if ↵ | Brian Paul | 2008-07-04 | 1 | -0/+5 |
| | | | | program isn't linked | ||||
* | mesa: fix incorrect array size, added assertion | Brian Paul | 2008-07-03 | 1 | -1/+2 |
| | |||||
* | mesa: fix array storage allocation bug | Brian Paul | 2008-07-03 | 1 | -0/+8 |
| | |||||
* | 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 various error codes | Brian Paul | 2008-07-03 | 1 | -94/+144 |
| | |||||
* | mesa: additional GLSL built-in constants | Brian Paul | 2008-07-02 | 1 | -13/+19 |
| | |||||
* | mesa: when linking a shader program, make sure all the shaders compiled OK | Brian Paul | 2008-07-02 | 1 | -0/+8 |
| | | | | cherry-picked from master | ||||
* | mesa: added some debug code (disabled) | Brian Paul | 2008-07-02 | 2 | -0/+9 |
| | | | | cherry-picked from master | ||||
* | 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... cherry-picked from master | ||||
* | mesa: regenerated file | Brian Paul | 2008-07-02 | 1 | -152/+163 |
| | |||||
* | mesa: added some missing equal() notEqual() intrinsics | Brian Paul | 2008-07-02 | 1 | -0/+33 |
| | | | | cherry-picked from master | ||||
* | mesa: disable some debug assertions | Brian Paul | 2008-07-02 | 1 | -0/+5 |
| | | | | | We can sometimes fail these assertions because of how swizzled storage works. Will revisit someday. | ||||
* | 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 |
| | | | | cherry-picked from master | ||||
* | mesa: added _mesa_print_swizzle() debugging helper | Brian Paul | 2008-07-02 | 2 | -0/+16 |
| | |||||
* | 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. cherry-picked from master | ||||
* | mesa: move some functions | Brian Paul | 2008-07-01 | 1 | -99/+99 |
| | | | | cherry-picked from master | ||||
* | mesa: make _slang_swizzle_swizzle() non-private | Brian Paul | 2008-07-01 | 2 | -9/+16 |
| | | | | cherry-picked from master | ||||
* | 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. cherry-picked from master | ||||
* | mesa: add/fix some IrInfo entries for debugging purposes | Brian Paul | 2008-07-01 | 1 | -3/+5 |
| | | | | cherry-picked from master | ||||
* | mesa: added null ptr checks | Brian Paul | 2008-06-28 | 1 | -2/+2 |
| | |||||
* | s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv() | Brian Paul | 2008-06-28 | 1 | -4/+6 |
| | |||||
* | mesa: Use appropriate unsigned/signed, float/integer types. | José Fonseca | 2008-06-24 | 4 | -7/+7 |
| | |||||
* | silly bug: it's PROGRAM_VARYING | Zack Rusin | 2008-06-12 | 1 | -1/+1 |
| | |||||
* | glsl: make sure we replace all output reads with temporaries | Zack Rusin | 2008-06-12 | 3 | -7/+10 |
| | | | | test in if.glsl | ||||
* | mesa: remove unneeded #include | Brian Paul | 2008-06-12 | 1 | -1/+0 |
| | |||||
* | almost forgot - RelAddr is a boolean so use it here | Zack Rusin | 2008-06-12 | 1 | -1/+1 |
| | |||||
* | shaders: fix allocation of arrays of parameters | Zack Rusin | 2008-06-12 | 1 | -1/+23 |
| | |||||
* | glsl: implement variable array indexes | Zack Rusin | 2008-06-12 | 4 | -12/+24 |
| | |||||
* | mesa: include mtypes.h | Brian Paul | 2008-06-10 | 1 | -0/+2 |
| | |||||
* | glsl: fix array size initialiazers using const variables | Zack Rusin | 2008-06-09 | 1 | -2/+26 |
| | | | | | | e.g. const int kernelSize = 9; uniform vec2 kernel[kernelSize]; | ||||
* | Set the attribute as used. | Alan Hourihane | 2008-06-04 | 1 | -0/+3 |
| | |||||
* | mesa: Apply MSVC portability fixes from Alan Hourihane. | José Fonseca | 2008-05-31 | 4 | -12/+12 |
| | |||||
* | Merge branch 'gallium-vertex-linear' into gallium-0.1 | Jakob Bornecrantz | 2008-05-28 | 2 | -11/+43 |
|\ | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_pt_varray.c | ||||
| * | mesa: pre-swizzle normal scale state value | Keith Whitwell | 2008-05-24 | 1 | -1/+5 |
| | | |||||
| * | mesa: do object-space lighting in ffvertex_prog.c | Keith Whitwell | 2008-05-23 | 2 | -10/+38 |
| | | | | | | | | | | Start pulling over some of the optimizations from the fixed function paths. | ||||
* | | copy StateFlags in _mesa_clone_parameter_list() | Brian Paul | 2008-05-20 | 1 | -0/+2 |
| | | | | | | | | cherry-picked from master (b539b6132141b0f583076355ad158852667b79cd) | ||||
* | | fix incorrect sampler numbering/indexing. | Brian Paul | 2008-05-20 | 5 | -14/+15 |
| | | | | | | | | | | | | All samplers indexes were zero. cherry-picked from master (b6fb0940c226373ac235a5d327d3fcfd742bc6b9) | ||||
* | | fix tempReg test in _mesa_combine_programs() | Brian Paul | 2008-05-19 | 1 | -1/+1 |
|/ | |||||
* | print vertex.attrib[n] (from master) | Brian Paul | 2008-05-18 | 1 | -3/+19 |
| | |||||
* | Fix some bugs in material, depth range state | Brian Paul | 2008-05-18 | 1 | -4/+4 |
| | | | | picked from master | ||||
* | alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935) | Brian Paul | 2008-05-18 | 3 | -84/+26 |
| | | | | | | these should be the same functions (as per spec). cherry-picked from master (86a4810b09097714942bf2b889e6c62357bba931) | ||||
* | bring in fixes/changes from master | Brian Paul | 2008-05-16 | 1 | -5/+14 |
| | |||||
* | Fix a program refcounting error, don't share program parameter lists. | Brian Paul | 2008-05-16 | 2 | -41/+20 |
| | | | | | | The refcounting bug was causing a memleak (unfreed programs). The old parameter list sharing is not needed since the change in how uniforms are handled. | ||||
* | fix parsing of state.texenv.color (bug 14931) | Brian Paul | 2008-05-14 | 2 | -2/+4 |
| | | | | cherry-picked from master | ||||
* | Consolidate texture fetch code and use partial derivatives when possible. | Brian Paul | 2008-05-14 | 2 | -67/+70 |
| | | | | picked from master | ||||
* | mesa: fix InfoLog memleak, misc sync with master | Brian Paul | 2008-05-14 | 1 | -4/+8 |
| | |||||
* | Bug #13492: Only call ProgramStringNotify if program parsing succeeded. | Eric Anholt | 2008-05-14 | 1 | -2/+2 |
| | | | | | | Wine intentionally tries some out-of-spec programs to test strictness, and calling ProgramStringNotify on the results of a failed program parse resulted in crashes in the 965 driver. | ||||
* | fix swizzle error test (bug 11881) | Brian | 2008-05-14 | 1 | -2/+2 |
| |