Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: more debug output | Brian Paul | 2008-07-08 | 1 | -22/+62 |
| | |||||
* | mesa: compute global var size before doing codegen | Brian Paul | 2008-07-08 | 1 | -9/+9 |
| | |||||
* | mesa: add missing VARYING case to storage_string() | Brian Paul | 2008-07-08 | 1 | -0/+2 |
| | |||||
* | 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: 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: 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 |
| | |||||
* | generate a link error if the vertex shader references too many textures | Brian Paul | 2008-07-02 | 1 | -0/+6 |
| | |||||
* | 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 |
| | |||||
* | glsl: make sure we replace all output reads with temporaries | Zack Rusin | 2008-06-12 | 1 | -1/+2 |
| | | | | test in if.glsl | ||||
* | glsl: fix array size initialiazers using const variables | Zack Rusin | 2008-06-12 | 1 | -2/+26 |
| | | | | | | e.g. const int kernelSize = 9; uniform vec2 kernel[kernelSize]; | ||||
* | glsl: implement variable array indexes | Zack Rusin | 2008-06-12 | 2 | -5/+12 |
| | |||||
* | Set the attribute as used. | Brian Paul | 2008-06-04 | 1 | -0/+3 |
| | | | | cherry-picked from gallium-0.1 | ||||
* | fix incorrect sampler numbering/indexing. | Brian Paul | 2008-05-20 | 3 | -6/+1 |
| | | | | All samplers indexes were zero. | ||||
* | Fix a program refcounting error, don't share program parameter lists. | Brian Paul | 2008-05-16 | 1 | -22/+10 |
| | | | | | | 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 assertion typo: s/=/==/ | Brian Paul | 2008-05-16 | 1 | -1/+1 |
| | |||||
* | Updated GLSL uniform/sampler handling from gallium-0.1 branch | Brian Paul | 2008-05-14 | 6 | -184/+91 |
| | | | | | | | | | | Previously, the shader linker combined the uniforms used by the vertex and fragment shaders into a combined set of uniforms. This made the implementation of glUniform*() simple, but was rather inefficient otherwise. Now each shader gets its own set of uniforms (no more modelview matrix showing up in the fragment shader uniforms, for example). cherry-picked by hand from gallium-0.1 branch | ||||
* | fix some additional program refcounting bugs | Brian Paul | 2008-05-14 | 1 | -2/+2 |
| | |||||
* | Never fail `make clean' | Dan Nicholson | 2008-05-07 | 1 | -1/+1 |
| | | | | | | Mostly some pedantic changes such that `make clean' always ignores errors. Also changed the top clean target to do the `touch configs/current' dance instead of realclean. | ||||
* | implement full reference counting for vertex/fragment programs | Brian | 2008-05-06 | 1 | -6/+8 |
| | | | | | Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. | ||||
* | glcore: drop outdated sources files intented for xorg | George Sapountzis | 2008-04-23 | 1 | -44/+0 |
| | |||||
* | fix GL_ARB_texture_rectangle breakage | Brian Paul | 2008-04-14 | 1 | -3/+3 |
| | |||||
* | define #extension GL_ARB_texture_rectangle | David Flynn | 2008-04-14 | 1 | -0/+4 |
| | |||||
* | rewrite some of the mat*mat, mat*vec intrinsics | Brian | 2008-04-03 | 3 | -567/+336 |
| | | | | Also, remove obsolete matrix codegen code. | ||||
* | init tmpNode to zeros | Brian | 2008-03-14 | 1 | -0/+1 |
| | |||||
* | mesa: fix emit_clamp() so that we don't use an output register as temporary | Brian | 2008-03-14 | 1 | -3/+12 |
| | | | | | | 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). | ||||
* | regenerate glsl library functions | Roland Scheidegger | 2008-01-31 | 1 | -41/+42 |
| | |||||
* | fix w component of glsl vec4 asin | Roland Scheidegger | 2008-01-31 | 1 | -0/+1 |
| | |||||
* | Fix gl_FrontFacing compilation problem | Brian | 2007-12-04 | 1 | -1/+2 |
| | |||||
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | joukj | 2007-11-30 | 2 | -7/+23 |
|\ | |||||
| * | set fp->UsesKill when emitting OPCODE_KIL | Brian | 2007-11-27 | 1 | -2/+8 |
| | | |||||
| * | Fix parsing of gl_FrontLightModelProduct.sceneColor, don't segfault on ↵ | Brian | 2007-11-23 | 2 | -5/+15 |
| | | | | | | | | variable array indexes. | ||||
* | | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | Jouk | 2007-10-31 | 5 | -2/+127 |
|\| | |||||
| * | Merge branch '965-glsl' | Zou Nan hai | 2007-10-26 | 1 | -0/+1 |
| |\ | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i965/brw_sf.h src/mesa/drivers/dri/i965/intel_context.c | ||||
| | * | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵ | Zou Nan hai | 2007-07-17 | 11 | -49/+50 |
| | |\ | | | | | | | | | | | | | into 965-glsl | ||||
| | * \ | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵ | Zou Nan hai | 2007-07-04 | 26 | -1471/+2261 |
| | |\ \ | | | | | | | | | | | | | | | | into 965-glsl | ||||
| | * | | | Initial 965 GLSL support | Zou Nan hai | 2007-04-12 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | add to git | Brian | 2007-10-24 | 2 | -0/+109 |
| | | | | | |||||
| * | | | | Implement gl_PointCoord attribute for GLSL fragment shaders. | Brian | 2007-10-24 | 2 | -1/+16 |
| | | | | | | | | | | | | | | | | | | | | Contains the normalized fragment position within a point sprite. | ||||
| * | | | | fix comment: s/branch/kill/ | Brian | 2007-10-02 | 1 | -1/+1 |
| | | | | |