Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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-23 | glcore: drop outdated sources files intented for xorg | George Sapountzis | |
2008-04-22 | revert part of the previous cleanup - it only applies | Alan Hourihane | |
to the 7.0 branch | |||
2008-04-22 | Fix error string | Alan Hourihane | |
2008-04-22 | correct the return value | Alan Hourihane | |
2008-04-22 | small cleanups | Alan Hourihane | |
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 | fix GL_ARB_texture_rectangle breakage | Brian Paul | |
2008-04-14 | define #extension GL_ARB_texture_rectangle | David Flynn | |
2008-04-14 | mesa: define #extension GL_ARB_texture_rectangle | David Flynn | |
2008-04-11 | fix failed assertion (parameter can be a PROGRAM_CONSTANT) | Brian Paul | |
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-04-03 | rewrite some of the mat*mat, mat*vec intrinsics | Brian | |
Also, remove obsolete matrix codegen code. | |||
2008-03-31 | fix parsing bug involving comments at the end of ARB v/f programs | Markus Amsler | |
2008-03-31 | fix parsing bug involving comments at the end of ARB v/f programs | Markus Amsler | |
2008-03-31 | mesa: Free all shader program data before deleting all | Xiang, Haihao | |
shader/shader program objects to avoid memory access error. | |||
2008-03-31 | Revert "mesa: separate shader program object from shader object." (bug#15244) | Xiang, Haihao | |
This reverts commit 3ffd11f71d021f672b9bc15b3c39c155a0e2fecb. | |||
2008-03-27 | consolidate some parsing functions that were pretty much identical for ↵ | Brian | |
vertex/fragment programs cherry-picked from master | |||
2008-03-27 | consolidate some parsing functions that were pretty much identical for ↵ | Brian | |
vertex/fragment programs | |||
2008-03-27 | when negating scalar src args, use NEGATE_XYZW, not NEGATE_X | Brian | |
This makes things easier on the back-end when generating GPU code. cherry-picked from gallium-0.1 | |||
2008-03-27 | Set param_var->param_binding_type = PROGRAM_CONSTANT | Brian | |
cherry-picked from gallium-0.1 | |||
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-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-17 | only set InputsRead bit if input is really used | Markus Amsler | |
2008-03-17 | mesa: Add vertex.attrib 0-15 to arb_input_attrib_string. | Markus Amsler | |
2008-03-14 | init tmpNode to zeros | Brian | |
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 | |
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). |