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