Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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-24 | mesa: Use appropriate unsigned/signed, float/integer types. | José Fonseca | |
2008-06-12 | glsl: make sure we replace all output reads with temporaries | Zack Rusin | |
test in if.glsl | |||
2008-06-12 | glsl: implement variable array indexes | Zack Rusin | |
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-20 | fix incorrect sampler numbering/indexing. | Brian Paul | |
All samplers indexes were zero. cherry-picked from master (b6fb0940c226373ac235a5d327d3fcfd742bc6b9) | |||
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-up inlined/non-inlined function inconsistencies | Brian Paul | |
cherry-picked from master | |||
2008-05-14 | mesa: rm unneeded file | Brian Paul | |
2008-05-14 | mesa: prefix rm command with - | Brian Paul | |
2008-05-14 | rewrite some of the mat*mat, mat*vec intrinsics | Brian Paul | |
Also, remove obsolete matrix codegen code. cherry-picked from master | |||
2008-05-14 | mesa: regenerate slang built-in data (asin(vec4) fix) | Brian Paul | |
2008-05-14 | mesa: fix missing w assignment in asin(vec4) | Brian Paul | |
2008-05-14 | mesa: updated comment | Brian Paul | |
2008-05-14 | mesa: minor bug fixes from master | Brian Paul | |
2008-05-14 | mesa: dead code removal | Brian Paul | |
2008-05-14 | mesa: minor bug fixes, null ptr checks, dead code removal | Brian Paul | |
2008-05-14 | mesa: fix errors in LightModelProduct state, other misc error cases | Brian Paul | |
2008-05-14 | fix some additional program refcounting bugs | Brian Paul | |
cherry-picked from master | |||
2008-05-06 | gallium: implement full reference counting for vertex/fragment programs | Brian | |
Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. Another memory bug involving shaders yet to be fixed... | |||
2008-04-14 | fix GL_ARB_texture_rectangle breakage | Brian Paul | |
2008-04-14 | mesa: define #extension GL_ARB_texture_rectangle | David Flynn | |
2008-04-07 | mesa: call _mesa_remove_varying_reads() after compiling vertex shaders | Brian | |
2008-04-04 | mesa: no longer combine vertex/fragment shader parameters/uniforms | Brian | |
GLSL Vertex and fragment shaders now have independent parameter buffers. A new gl_uniform_list is used to keep track of program uniforms and where each uniform is located in each shader's parameter buffer. This makes better use of the space in each buffer and simplifies shader linking. | |||
2008-03-14 | mesa: init tmpNode to zeros | Brian Paul | |
2008-03-14 | mesa: fix emit_clamp() so that we don't use an output register as temporary | Brian Paul | |
IR_CLAMP is decomposed into OPCODE_MIN+OPCODE_MAX. Allocate a temporary register for the intermediate value so we don't inadvertantly use an output register (which are write-only on some GPUs). | |||
2008-03-13 | mesa: fix (harmless?) assignment in assert | Keith Whitwell | |
2008-02-25 | Remove files of unsupported build systems. | José Fonseca | |
2007-10-29 | Rename 'mms-config.' to 'mms.config'. | Michal Krol | |
It looks like Windows does not like filenames ending with a dot, in effect renaming it to 'mms-config'. | |||
2007-10-26 | turn off debug output | Brian | |
2007-10-26 | Re-implement GLSL texture sampler variables. | Brian | |
GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime. | |||
2007-10-24 | add to git | Brian | |
2007-10-24 | Implement gl_PointCoord attribute for GLSL fragment shaders. | Brian | |
Contains the normalized fragment position within a point sprite. | |||
2007-07-26 | Fix function call bug 11731. Also, fix up IR_CALL/IR_FUNC confusion. | Brian | |
2007-07-26 | generate error upon writing to varying var in fragment program (bug 11733) | Brian | |
2007-07-24 | call ctx->Driver.NewProgram() instead of _mesa_new_program() | Brian | |
2007-07-12 | fix swizzle-related bug 11534 | Brian | |
2007-07-04 | Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵ | Brian | |
of -I flags. | |||
2007-07-03 | added vec2(vec4) constructor, bug 11404 | Brian | |
2007-07-03 | add code for stpq, rgba writemasks in make_writemask(), bug 11404 | Brian | |