Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-23 | gallium: fix potential divide by zero in fog computation | Brian Paul | |
It's legal for Fog.Start == Fog.End and conformance testing does so. | |||
2008-04-16 | mesa: added internal post color matrix scale/bias vars | Brian Paul | |
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-07 | mesa: new _mesa_remove_varying_reads() function | Brian | |
We'll apply this function to GLSL vertex programs. In GLSL it's legal to read and write varying (output) vars in a vertex shader. But reading from an output register isn't supported by all hardware. This routine examines the vertex program for that condition and rewrites it to use temporary registers where needed. | |||
2008-04-07 | mesa: added _mesa_insert_instructions() | Brian | |
Also, use new _mesa_free_instructions() in a few places. | |||
2008-04-07 | mesa: added _mesa_free_instructions() | 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-04-04 | mesa: new functions for managing list/index of uniforms | Brian | |
2008-04-04 | gallium: make sure to set the SamplersUsed field for bitmap/drawpixels shaders | Brian Paul | |
Also, make sure that field is copied/updated in the program clone and combine functions. Without this we weren't getting SAMP declarations in the TGSI shaders. | |||
2008-03-31 | fix parsing bug involving comments at the end of ARB v/f programs | Markus Amsler | |
2008-03-27 | consolidate some parsing functions that were pretty much identical for ↵ | Brian | |
vertex/fragment programs cherry-picked from master | |||
2008-03-27 | mesa: misc sync-up with master | Brian | |
2008-03-27 | raise GL_INVALID_OPERATION if glProgramString compilation fails | Brian | |
cherry-picked from master | |||
2008-03-27 | Fix the compile of disabled DEBUG_PARSING code. | Brian | |
cherry-picked from master | |||
2008-03-27 | make sure state token values are fully initialized | Brian | |
cherry-picked from master | |||
2008-03-27 | added program_error2() function for better error reporting | Brian | |
cherry-picked from master | |||
2008-03-27 | Fix state.texgen parsing error (bug 12313). | Brian | |
Replace *(*inst++) with *(*inst)++ in a few places. Cherry-picked from master. | |||
2008-03-25 | mesa: fix some issues in _mesa_combine_programs() | Brian Paul | |
Use a temporay register to connect outputs of first program to inputs of second program. Also, fix bug in replace_registers(): didn't search/replace DstReg. | |||
2008-03-25 | mesa: append fog instructions after parsing if a fog option is set | Brian Paul | |
Drivers don't have to worry about it then. | |||
2008-03-25 | mesa: when negating scalar src args, use NEGATE_XYZW, not NEGATE_X | Brian Paul | |
This makes things easier on the back-end when generating GPU code. | |||
2008-03-22 | use ctx->Driver.DeleteProgram() in a few more places | Brian | |
2008-03-17 | only set InputsRead bit if input is really used | Markus Amsler | |
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-03-12 | mesa: set SamplersUsed bitmask when parsing ARB fragment programs | Brian | |
2008-02-27 | mesa: set input read only on success | Jerome Glisse | |
2008-02-25 | Remove files of unsupported build systems. | José Fonseca | |
2008-01-18 | s/varible/variable/ | Brian | |
2008-01-18 | set param type to PROGRAM_CONSTANT when parsing immediates | Brian | |
2008-01-16 | use NEGATE_X/Y/Z/W tokens | Brian | |
2008-01-16 | clean-up swizzle fields in fog code, fix NegateBase | Brian | |
2008-01-16 | copy UsesKill state in _mesa_combine_programs() | Brian | |
2008-01-01 | free program caches | Brian | |
2008-01-01 | fix a memleak | Brian | |
2007-12-07 | Move _mesa_init_glsl_driver_functions() into shader_api.c | Brian | |
This allows making a bunch of functions static, and removes a state tracker dependency on driverfuncs.c | |||
2007-10-31 | fix type for Samplers field | Brian | |
2007-10-31 | alloc caches for fixed-func vertex/fragment progs | Brian | |
2007-10-30 | fix InputsRead bug in _mesa_combine_programs() | Brian | |
2007-10-30 | special-case KIL/KIL_NV | Brian | |
2007-10-30 | more additions for COLOR_MATRIX, etc | Brian | |
2007-10-30 | add state vars for color matrix, pixel transfer scale&bias | Brian | |
2007-10-30 | Program cache functions. | Brian | |
Generic version of cache code from texenvprogram.c and t_vp_build.c Not used by those files just yet, will also be used for pixel_transfer programs. | |||
2007-10-30 | check for NULL ptr in _mesa_print_parameter_list() | Brian | |
2007-10-30 | make _mesa_combine_programs() params const | Brian | |
2007-10-30 | Added _mesa_combine_programs() for concatenating two programs. | Brian | |