Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-08-25 | mesa: glsl: grab latest fixes from gallium-0.1 branch | Brian Paul | |
Includes: 1. Fixes failed asserting about bad swizzles in src reg emit. 2. Tracks uniform var usage. 3. Emit exp() in terms of EXP2 instruction. | |||
2008-08-16 | mesa: import latest GLSL code from gallium-0.1 branch | Brian Paul | |
2008-08-06 | disable debug code accidentally enabled by prev commit | Brian Paul | |
2008-08-06 | mesa: glsl: count number of temp regs used | Haihao Xiang | |
2008-07-29 | mesa: glsl: only try to link shaders defining main() | Brian Paul | |
2008-07-29 | mesa: assorted glsl uniform/attribute fixes | Brian Paul | |
Fix incorrect uniform/attribute size query results. Add missing error checking for glUniform, glUniformMatrix params Fix an array size/allocation error. | |||
2008-07-02 | mesa: when linking a shader program, make sure all the shaders compiled OK | Brian Paul | |
2008-07-02 | generate a link error if the vertex shader references too many textures | Brian Paul | |
2008-06-04 | Set the attribute as used. | Brian Paul | |
cherry-picked from gallium-0.1 | |||
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 | 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-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. | |||
2007-07-31 | glGetAttribLocation always returned 1 (bug 11774) | Brian | |
2007-07-04 | Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵ | Brian | |
of -I flags. | |||
2007-04-26 | Added error check that all varying vars needed by the fragment shader are ↵ | Brian | |
produced by vertex shader. | |||
2007-04-21 | move allocation of shProg->Attributes earlier in function | Brian | |
2007-04-18 | Start fixing some issues with uniform variables and their types. | Brian | |
2007-04-18 | call ProgramStringNotify() after linking | Brian | |
2007-04-12 | use _mesa_clear_shader_program_data() | Brian | |
2007-03-26 | remove debug abort() calls | Brian | |
2007-03-26 | disable printing shader program debug info | Brian | |
2007-03-22 | In _mesa_add_unnamed_constant() and _mesa_lookup_parameter_constant() allow ↵ | Brian | |
swizzleOut==NULL. There are times when we don't want to allow swizzling when searching for or adding vector constants. Passing NULL for swizzleOut disables swizzling. This fixes a constant/swizzle bug in link_uniform_vars(). | |||
2007-03-07 | fix incorrect HPOS write test | Brian | |
2007-03-07 | Generate an error if the vertex shader does not write to gl_Position. | Brian | |
2007-03-06 | fix vert/frag typo | Brian | |
2007-02-23 | replace GLint with gl_state_index | Brian | |
2007-02-23 | Re-implement branching with slang_labels. | Brian | |
This eliminates the NOP instructions that had been used as placeholders for branch targets. Also, fix "return" statement bug. | |||
2007-02-16 | remove dead code | Brian | |
2007-02-16 | s/_slang_link2/_slang_link/ | Brian | |
2007-02-07 | Use IR_LOOP to represent do-while and for-loops. | Brian | |
Also, start moving high vs. low-level instruction selection into slang_emit.c | |||
2007-02-02 | rename slang_link2.c slang_link.c | Brian | |
2007-02-02 | Remove old slang linker code. | Brian | |
2007-02-02 | Remove all dependencies on the old slang interpreter/executor. | Brian | |
2006-12-15 | use MAX_VARYING | Brian | |
2006-10-13 | Indent and cosmetic changes. | Michal Krol | |
2006-05-16 | Fix attrib handling. | Michal Krol | |
2006-04-25 | Remove carriage returns. | Michal Krol | |
2006-04-18 | Add support for ARB_vertex_shader attrib binding and query. | Michal Krol | |
Clean-up ARB_shaderobjects code a bit. | |||
2006-04-04 | More GLSL code: | Michal Krol | |
- add support for varyings; GLSL fixes: - pow was wrongly computed in x86 back-end; | |||
2006-03-14 | More GLSL code: | Michal Krol | |
- add texture sampling support; - fix assembly codegen bugs; | |||
2006-02-27 | More GLSL code: | Michal Krol | |
- add x86 code generator; - add full support for uniforms in ARB_shader_objects; - add assembly instruction: global_addr; - reorganize #includes; - built-in uniforms accessed by index, rather than by name; - add some entries to x86sse rtasm; - add configurations to VC6 projects: 'Release x86' and 'Debug x86'; - #define SLANG_X86 active only on VC6 x86 builds; - introduce code export table for a shader; - remove GNU license from the noise library; | |||
2006-02-21 | More GLSL code: | Michal Krol | |
- uniforms (only GetLocation, Uniform1f and Uniform4fv for now for demos); - fix bugs and optimize array size handling; - 2D texture sampling (needs Enable(TEXTURE_2D) to work); - decrease built-in library assembly size by 30%. |