Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix potential NULL dereference (bug 11880) | Brian | 2007-08-07 | 1 | -2/+6 |
| | |||||
* | fix shader/info string length queries (bug 11588) | Jan Dvorak | 2007-07-13 | 1 | -3/+3 |
| | |||||
* | Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵ | Brian | 2007-07-04 | 1 | -4/+3 |
| | | | | of -I flags. | ||||
* | Check that texture units/samplers specified with glUniform1i() are legal. | Brian | 2007-05-09 | 1 | -1/+9 |
| | |||||
* | free shProg->Attributes in _mesa_free_shader_program_data() | Brian | 2007-04-21 | 1 | -0/+5 |
| | |||||
* | Start fixing some issues with uniform variables and their types. | Brian | 2007-04-18 | 1 | -7/+2 |
| | |||||
* | Fix some bugs related to querying active uniforms. | Brian | 2007-04-18 | 1 | -10/+32 |
| | |||||
* | fix error strings, add a sanity check | Brian | 2007-04-18 | 1 | -2/+14 |
| | |||||
* | Remove bad assertions, decrement NumShaders in _mesa_detach_shader(). | Brian | 2007-04-18 | 1 | -2/+1 |
| | | | | Fixes crashes w/ Brad King's depth peeling test. | ||||
* | s/GL_SHADER_PROGRAM/GL_SHADER_PROGRAM_MESA/ (a Mesa-specific token) | Brian | 2007-04-18 | 1 | -4/+4 |
| | |||||
* | Replace _mesa_parameter_longest_name() with _mesa_longest_parameter_name(). | Brian | 2007-04-18 | 1 | -2/+2 |
| | | | | | | The later takes a type parameter so we can match uniforms or attributes/inputs. Used by the GL_ACTIVE_ATTRIBUTE_MAX_LENGTH and GL_ACTIVE_UNIFORM_MAX_LENGTH queries. Fixes problem reported by Brad King in VTK. | ||||
* | disable debug printfs | Brian | 2007-04-12 | 1 | -8/+6 |
| | |||||
* | New _mesa_reference_shader/program() function to consolidate refcounting. | Brian | 2007-04-12 | 1 | -49/+153 |
| | | | | | Note that (unlike texture objects), shader handles remain valid (in the hash table) after glDeleteShader/Program() if the refcount isn't zero. | ||||
* | fix invalid error detection problem in _mesa_bind_attrib_location(), bug 10602 | Brian | 2007-04-11 | 1 | -7/+11 |
| | |||||
* | fix mem leak, add comments | Brian | 2007-03-26 | 1 | -3/+15 |
| | |||||
* | Free shader-related context state: _mesa_free_shader_state() | Brian | 2007-03-24 | 1 | -0/+16 |
| | |||||
* | Add the ability to generate programs that doesn't use condition codes. | Brian | 2007-03-23 | 1 | -0/+1 |
| | | | | | | | ctx->Shader.EmitCondCodes determines if we use condition codes. If not, IF statement uses first operand's X component as the condition. Added OPCODE_BRK0, OPCODE_BRK1, OPCODE_CONT0, OPCODE_CONT1 to handle the common cases of conditional break/continue. | ||||
* | more bug fixing, error checking | Brian | 2007-03-13 | 1 | -2/+7 |
| | |||||
* | fix a number of issues in _mesa_uniform() | Brian | 2007-03-13 | 1 | -45/+43 |
| | |||||
* | fix _mesa_uniform_matrix() transpose bug | Brian | 2007-03-09 | 1 | -2/+2 |
| | |||||
* | check for null program ptrs in _mesa_uniform() | Brian | 2007-03-07 | 1 | -2/+4 |
| | |||||
* | Add EmitHighLevelInstructions, EmitComments booleans to gl_shader_state. | Brian | 2007-02-26 | 1 | -6/+8 |
| | | | | These control code generation options. May be overridden by drivers, debuggers, etc. | ||||
* | Remove unneeded _Fragment/VertexShaderPresent fields, update comments. | Brian | 2007-02-24 | 1 | -2/+1 |
| | |||||
* | s/_slang_link2/_slang_link/ | Brian | 2007-02-16 | 1 | -1/+1 |
| | |||||
* | added FLUSH_VERTICES() in _mesa_use_program() | Brian | 2007-02-03 | 1 | -0/+8 |
| | |||||
* | Only glUniform1i() can be used to set sampler uniforms. Generate error ↵ | Brian | 2007-02-02 | 1 | -0/+14 |
| | | | | otherwise. | ||||
* | fix _mesa_get_uniform_location() so it uses the given program handle | Brian | 2007-01-30 | 1 | -2/+3 |
| | |||||
* | fix g++ warnings/errors | Brian | 2007-01-23 | 1 | -3/+3 |
| | |||||
* | checkpoint: codegen for global vars w/ initializers | Brian | 2007-01-10 | 1 | -1/+2 |
| | |||||
* | assorted code clean-ups | Brian | 2007-01-10 | 1 | -2/+1 |
| | |||||
* | get rid of STATE_USER_ATTRIB/STATE_AUTO_ATTRIB | Brian | 2007-01-09 | 1 | -1/+1 |
| | |||||
* | clean up a bunch of program parameter stuff | Brian | 2007-01-09 | 1 | -3/+3 |
| | |||||
* | Implement vertex attribute binding. | Brian | 2007-01-09 | 1 | -15/+24 |
| | | | | | Users can set explicit binding with glBindAttribLocation(), otherwise the linker will allocate generic attribute slots. | ||||
* | Checkpoint glsl compiler work: sampler uniforms now implemented, linked ↵ | Brian | 2007-01-05 | 1 | -1/+8 |
| | | | | properly. | ||||
* | finish some loose ends in _mesa_uniform() | Brian | 2007-01-04 | 1 | -13/+44 |
| | |||||
* | Fix some incorrect GL error values. Reorganize _mesa_compile_shader() code. | Brian | 2007-01-04 | 1 | -35/+14 |
| | |||||
* | comment about uniforms | Brian | 2006-12-21 | 1 | -0/+4 |
| | |||||
* | Uniform matrix support. | Brian | 2006-12-20 | 1 | -54/+55 |
| | | | | | | | Implement _mesa_uniform_matrix() Support for program parameters/uniforms with more than 4 elements. Store 4x4 matrices in column-major order in registers. Update mat mul built-in functions accordingly. | ||||
* | code re-org | Brian | 2006-12-20 | 1 | -158/+155 |
| | |||||
* | Fix shader object reference counting and hash table deallocation. | Brian | 2006-12-20 | 1 | -7/+62 |
| | |||||
* | Clean-up and re-org of the main GLSL object types. | Brian | 2006-12-19 | 1 | -187/+198 |
| | | | | | | | Use the gl_shader struct as it should be. Renamed gl_linked_program to gl_shader_program. Store both shaders and programs in the same hash table and use the Type field to distinguish them. | ||||
* | Overhaul of GLSL API functions, dispatching, etc. | Brian | 2006-12-19 | 1 | -986/+525 |
| | |||||
* | GLSL API functions. | Brian | 2006-12-18 | 1 | -0/+1390 |