summaryrefslogtreecommitdiff
path: root/src/mesa/shader
AgeCommit message (Collapse)Author
2006-11-16reindent, clean-upBrian Paul
2006-11-15Add a size parameter to _mesa_add_unnamed_constant() andBrian Paul
_mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now...
2006-11-15Add new _mesa_lookup_parameter_constant() to search for a GLfloat4 constantBrian Paul
in a parameter list. Use it in _mesa_add_named_constant() and _mesa_add_unnamed_constant() to avoid duplication of identical constants.
2006-11-15reindent, add some commentsBrian Paul
2006-11-15reindentBrian Paul
2006-11-15indent, commentsBrian Paul
2006-11-15s/int/GLboolean/Brian Paul
2006-11-15improved error mesagesBrian Paul
2006-11-15fix casts to silence warningsBrian Paul
2006-11-15#define LONGSTRING __extension__ in imports.h and use it to silence gccBrian Paul
warnings about long string literals.
2006-11-15Comments for operations.Brian Paul
2006-11-05reindentBrian Paul
2006-11-04Fix for glGetVertexAttribfvNV, bug 8883Brian Paul
2006-11-04fix error msgBrian Paul
2006-11-04fix for glGetVertexAttribfvARB, bug 8883Brian Paul
2006-11-03Fix _mesa_IsProgram() and _mesa_IsShader()Brian Paul
2006-11-03implement _mesa_GetShaderiv()Brian Paul
2006-11-03implement _mesa_GetProgramiv()Brian Paul
2006-11-03Simplify GET_CURRENT_LINKED_PROGRAM() macro and calling code.Brian Paul
2006-11-03Use inlined uniform() helper function in all the glUniform*() function toBrian Paul
reduce duplicated code. Finish up _program_ReadUniform() for non-float types. Implement _mesa_GetUniformivARB(). Simplify the _program_WriteUniform() function a bit.
2006-11-03Added OpenGL 2.1 glUniformMatrix* functions.Brian Paul
Refactor the _mesa_UniformMatrix() functions to use a helper function. Implement GetUniformfv function (might need more work someday).
2006-11-03reformat comments in Doxygen styleBrian Paul
2006-11-03reindentBrian Paul
2006-11-02s/_mesa_IsProgram2/_mesa_IsProgram/Brian Paul
2006-11-02Rename _mesa_IsProgram() to _mesa_IsProgramARB() to avoid collision with theBrian Paul
OpenGL 2.0 function of the same name.
2006-11-02OpenGL 2.0 entrypointsBrian Paul
2006-11-02run indent on the codeBrian Paul
2006-10-31minor clean-ups, simplifications and new commentsBrian Paul
2006-10-30code tweaks, remove old commentsBrian Paul
2006-10-30Move gl_vertex_program_machine struct out of mtypes.h and put into nvvertexec.h.Brian Paul
Massage nvvertexec.c code to work more like s_nvfragprog.c - another step toward unifying vertex/fragment program execution.
2006-10-29New _mesa_exec_vertex_state_program() function. Start of some re-org.Brian Paul
2006-10-29fix wrong inequalityBrian Paul
2006-10-29Change _mesa_init_instruction() to initialize an array of instructions.Brian Paul
2006-10-29Program instructions are initialized before parsing so no need to setBrian Paul
Abs, NegateAbs, CondMask and CondSwizzle fields to defaults here. CondMask was getting mis-set. Removing the incorrect assignment improves fragment program speed by 15%.
2006-10-28special case END in _mesa_print_instruction()Brian Paul
2006-10-28Implement _mesa_append_fog_code() for fragment program fog options.Brian Paul
2006-10-19Fix nonportable pointer+unsigned arithmetic. Use pointer+int.Michal Krol
2006-10-17new assertions - one of which is currently failing with arbfslight.cBrian Paul
2006-10-13Indent and cosmetic changes.Michal Krol
2006-10-11added shaderobjects_3dlabs.cBrian Paul
2006-10-11remove 3dlabs.cBrian Paul
2006-10-11List of source (.c) files in each directory.Brian Paul
To be included by X.org Makefile.am files so that lists of files don't need to be hardcoded and frequently updated there.
2006-10-10a step toward moving run-time vertex program state out of GLcontextBrian Paul
2006-10-10Move the fp_machine struct into s_nvfragmprog.c since (except for programBrian Paul
debug) it's only used there.
2006-10-10s/GLuint/GLbitfield/Brian Paul
2006-10-10If program is position invariant, set VERT_BIT_POS in InputsRead field.Brian Paul
Fixes broken "OPTION NV_position_invariant".
2006-09-26Add GLSL preprocessor.Michal Krol
2006-09-26Fix Windows newlines.Michal Krol
2006-09-26Add syntax files for expression and directive preprocessor.Michal Krol
Fix syntax errors in builtin library 1.2 sources. All derivative files (*_gc.h and *_syn.h) are generated by Makefile.
2006-09-21new comments, indentation fixesBrian Paul