Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-07-02 | mesa: fix all(bvec2) function typo, add missing bvec2/3/4() constuctors | Brian Paul | |
2008-07-02 | generate a link error if the vertex shader references too many textures | 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. | |||
2008-07-01 | mesa: move some functions | Brian Paul | |
2008-07-01 | mesa: make _slang_swizzle_swizzle() non-private | Brian Paul | |
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. | |||
2008-07-01 | mesa: add/fix some IrInfo entries for debugging purposes | Brian Paul | |
2008-06-28 | s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv() | Brian Paul | |
2008-06-28 | mesa: added null ptr checks | Brian Paul | |
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 | glsl: allow uniforms | Zack Rusin | |
2008-06-12 | glsl: fix array size initialiazers using const variables | Zack Rusin | |
e.g. const int kernelSize = 9; uniform vec2 kernel[kernelSize]; | |||
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-04 | Set the attribute as used. | Brian Paul | |
cherry-picked from gallium-0.1 | |||
2008-05-27 | updated for latest sources | Jouk Jansen | |
2008-05-20 | copy StateFlags in _mesa_clone_parameter_list() | Brian Paul | |
2008-05-20 | fix incorrect sampler numbering/indexing. | Brian Paul | |
All samplers indexes were zero. | |||
2008-05-19 | fix tempReg test in _mesa_combine_programs() | Brian Paul | |
2008-05-18 | Move _mesa_init_glsl_driver_functions() into shader_api.c | Brian Paul | |
This allows making a bunch of functions static, and removes a state tracker dependency on driverfuncs.c cherry-picked from gallium-0.1 | |||
2008-05-18 | additional fog/color matrix changes from gallium-0.1 | Brian Paul | |
2008-05-18 | add state vars for color matrix, pixel transfer scale&bias | Brian Paul | |
cherry-picked from gallium-0.1 (068c7bd912283e051a55b2fd5c4568685d10f3ed) | |||
2008-05-18 | mesa: added internal post color matrix scale/bias vars | Brian Paul | |
cherry-picked from gallium-0.1 (302daeb2ec62c59bd28d0c53cdc0fb07dc9d0f58) | |||
2008-05-18 | fixes to _mesa_combine_programs(), from gallium-0.1 | Brian Paul | |
2008-05-18 | added div by zero check for Fog.End/Start (from gallium-0.1) | Brian Paul | |
2008-05-18 | clean-ups / additions from gallium-0.1 branch | Brian Paul | |
2008-05-16 | bring in fixes/changes from gallium-0.1 | Brian Paul | |
2008-05-16 | silence warning, new assertion | 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-16 | minor changes to aid debugging | Brian Paul | |
2008-05-16 | remove stray, left-over RefCount++ | Brian Paul | |
2008-05-16 | whitespace/formatting | Brian Paul | |
2008-05-16 | init SamplersUsed bits in _mesa_parse_arb_fragment_program | Brian Paul | |
2008-05-16 | fix assertion typo: s/=/==/ | Brian Paul | |
2008-05-16 | Fix DRI build | Brian Paul | |
2008-05-14 | Updated GLSL uniform/sampler handling from gallium-0.1 branch | Brian Paul | |
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 | |||
2008-05-14 | mesa: new functions for managing list/index of uniforms | Brian Paul | |
cherry-picked from gallium-0.1 | |||
2008-05-14 | clean-up swizzle fields in fog code, fix NegateBase | Brian Paul | |
cherry-picked from gallium-0.1 | |||
2008-05-14 | sync up with gallium-0.1 changes | Brian Paul | |
New _mesa_num_inst_dst_regs(), _mesa_is_tex_instruction() functions | |||
2008-05-14 | added _mesa_combine_parameter_lists() | Brian Paul | |
cherry-picked from gallium-0.1 | |||
2008-05-14 | mesa: added _mesa_insert_instructions() | Brian Paul | |
Also, use new _mesa_free_instructions() in a few places. cherry-picked from gallium-0.1 | |||
2008-05-14 | mesa: added _mesa_free_instructions() | Brian Paul | |
cherry-picked from gallium-0.1 | |||
2008-05-14 | fix some additional program refcounting bugs | Brian Paul | |
2008-05-08 | disable debug printfs | Brian Paul | |
2008-05-07 | fix refcounting bugs in tnl/tex program caches | Brian Paul | |
2008-05-07 | Never fail `make clean' | Dan Nicholson | |
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. | |||
2008-05-06 | 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. | |||
2008-04-23 | glcore: drop outdated sources files intented for xorg | George Sapountzis | |