Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-23 | Close memory leaks in glsl_type (constructor and get_array_instance) | Carl Worth | |
Add a talloc ctx to both get_array_instance and the glsl_type constructor in order to be able to call talloc_size instead of malloc. This fix now makes glsl-orangebook-ch06-bump.frag 99.99% leak free: total heap usage: 55,623 allocs, 55,615 Only 8 missing frees now. | |||
2010-06-23 | exec_node: Add new talloc-based new() | Carl Worth | |
And fix all callers to use the tallbac-based new for exec_node construction. We make ready use of talloc_parent in order to get valid, (and appropriate) talloc owners for everything we construct without having to add new 'ctx' parameters up and down all the call trees. This closes the majority of the memory leaks in the glsl-orangebook-ch06-bump.frag test: total heap usage: 55,623 allocs, 42,672 frees (was 14,533 frees) Now 76.7% leak-free. Woo-hoo! | |||
2010-06-23 | ir_variable: Set locations for shader built-in variables | Ian Romanick | |
2010-06-22 | Include stdio.h and stdlib.h everywhere, and don't cook our own #define NULL. | Eric Anholt | |
2010-06-07 | Bump GL_MAX_TEXTURE_COORDS from 2 to 4 | Ian Romanick | |
Every platform that supports GLSL sets GL_MAX_TEXTURE_COORDS to at least 4, so hard-code 4 for now. This causes the following tests to pass: glslparsertest/glsl2/norsetto-bumptbn_sh_fp.vert glslparsertest/glsl2/xreal-lighting-d-omni.vert glslparsertest/glsl2/xreal-lighting-db-omni.vert glslparsertest/glsl2/xreal-lighting-dbs-omni.vert | |||
2010-06-01 | Add builtin gl_LightSource[]. | Eric Anholt | |
Fixes gst-gl-bumper.vert parsing. | |||
2010-05-03 | Quiet warnings about ir_shader not being handled in places it's not needed. | Eric Anholt | |
2010-04-26 | Implement gl_TextureMatrix built-in uniform | Ian Romanick | |
2010-04-23 | Put static pointers to vec[234]_types along with the static float_type. | Eric Anholt | |
Otherwise you have to type a lot of get_instance. | |||
2010-04-21 | Add missing break statement | Ian Romanick | |
2010-04-19 | Mark some variables as having usage beyond the shader's scope. | Eric Anholt | |
This will be important to optimization passes. We don't want to dead-code eliminate writes to out varyings, or propagate uninitialized values of uniforms. | |||
2010-04-07 | Add support for GL_ARB_draw_buffers extension | Ian Romanick | |
2010-04-07 | Call glsl_type::get_instance correctly: the number of rows must be at least 1 | Ian Romanick | |
This causes the following tests to pass: shaders/glsl-tex-mvp.vert | |||
2010-04-07 | Add gl_ClipDistance in fragment shader | Ian Romanick | |
2010-04-05 | Add definition of gl_ClipDistance[] | Eric Anholt | |
2010-04-02 | Make built-in gl_TexCoord available in vertex and fragment shaders | Ian Romanick | |
2010-03-29 | Add definitions for 1.10 built-in uniforms for ff state. | Eric Anholt | |
2010-03-29 | Add support for builtin deprecated fs varyings. | Eric Anholt | |
Fixes glsl-color.frag. | |||
2010-03-25 | Set up fragment shader builtin variables. | Eric Anholt | |
2010-03-19 | Use glsl_symbol_table instead of using _mesa_symbol_table directly | Ian Romanick | |
2010-03-10 | IR variable: Initial work to support GLSL built-in variables | Ian Romanick | |