Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-26 | Re-implement GLSL texture sampler variables. | Brian | |
GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime. | |||
2007-08-07 | Naive implementation of IF/ELSE/ENDIF. | michal | |
Handle TGSI labels correctly. Enhance MESA opcode info queries. | |||
2007-07-13 | fix shader/info string length queries (bug 11588) | Jan Dvorak | |
2007-07-04 | Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵ | Brian | |
of -I flags. | |||
2007-05-09 | Check that texture units/samplers specified with glUniform1i() are legal. | Brian | |
2007-04-21 | free shProg->Attributes in _mesa_free_shader_program_data() | Brian | |
2007-04-18 | Start fixing some issues with uniform variables and their types. | Brian | |
2007-04-18 | Fix some bugs related to querying active uniforms. | Brian | |
2007-04-18 | fix error strings, add a sanity check | Brian | |
2007-04-18 | Remove bad assertions, decrement NumShaders in _mesa_detach_shader(). | Brian | |
Fixes crashes w/ Brad King's depth peeling test. | |||
2007-04-18 | s/GL_SHADER_PROGRAM/GL_SHADER_PROGRAM_MESA/ (a Mesa-specific token) | Brian | |
2007-04-18 | Replace _mesa_parameter_longest_name() with _mesa_longest_parameter_name(). | Brian | |
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. | |||
2007-04-12 | disable debug printfs | Brian | |
2007-04-12 | New _mesa_reference_shader/program() function to consolidate refcounting. | Brian | |
Note that (unlike texture objects), shader handles remain valid (in the hash table) after glDeleteShader/Program() if the refcount isn't zero. | |||
2007-04-11 | fix invalid error detection problem in _mesa_bind_attrib_location(), bug 10602 | Brian | |
2007-03-26 | fix mem leak, add comments | Brian | |
2007-03-24 | Free shader-related context state: _mesa_free_shader_state() | Brian | |
2007-03-23 | Add the ability to generate programs that doesn't use condition codes. | Brian | |
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. | |||
2007-03-13 | more bug fixing, error checking | Brian | |
2007-03-13 | fix a number of issues in _mesa_uniform() | Brian | |
2007-03-09 | fix _mesa_uniform_matrix() transpose bug | Brian | |
2007-03-07 | check for null program ptrs in _mesa_uniform() | Brian | |
2007-02-26 | Add EmitHighLevelInstructions, EmitComments booleans to gl_shader_state. | Brian | |
These control code generation options. May be overridden by drivers, debuggers, etc. | |||
2007-02-24 | Remove unneeded _Fragment/VertexShaderPresent fields, update comments. | Brian | |
2007-02-16 | s/_slang_link2/_slang_link/ | Brian | |
2007-02-03 | added FLUSH_VERTICES() in _mesa_use_program() | Brian | |
2007-02-02 | Only glUniform1i() can be used to set sampler uniforms. Generate error ↵ | Brian | |
otherwise. | |||
2007-01-30 | fix _mesa_get_uniform_location() so it uses the given program handle | Brian | |
2007-01-23 | fix g++ warnings/errors | Brian | |
2007-01-10 | checkpoint: codegen for global vars w/ initializers | Brian | |
2007-01-10 | assorted code clean-ups | Brian | |
2007-01-09 | get rid of STATE_USER_ATTRIB/STATE_AUTO_ATTRIB | Brian | |
2007-01-09 | clean up a bunch of program parameter stuff | Brian | |
2007-01-09 | Implement vertex attribute binding. | Brian | |
Users can set explicit binding with glBindAttribLocation(), otherwise the linker will allocate generic attribute slots. | |||
2007-01-05 | Checkpoint glsl compiler work: sampler uniforms now implemented, linked ↵ | Brian | |
properly. | |||
2007-01-04 | finish some loose ends in _mesa_uniform() | Brian | |
2007-01-04 | Fix some incorrect GL error values. Reorganize _mesa_compile_shader() code. | Brian | |
2006-12-21 | comment about uniforms | Brian | |
2006-12-20 | Uniform matrix support. | Brian | |
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. | |||
2006-12-20 | code re-org | Brian | |
2006-12-20 | Fix shader object reference counting and hash table deallocation. | Brian | |
2006-12-19 | Clean-up and re-org of the main GLSL object types. | Brian | |
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. | |||
2006-12-19 | Overhaul of GLSL API functions, dispatching, etc. | Brian | |
2006-12-18 | GLSL API functions. | Brian | |