summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
Commit message (Collapse)AuthorAgeFilesLines
* indent, commentsBrian Paul2006-11-151-24/+42
|
* s/int/GLboolean/Brian Paul2006-11-152-2/+2
|
* improved error mesagesBrian Paul2006-11-151-2/+2
|
* fix casts to silence warningsBrian Paul2006-11-151-5/+5
|
* #define LONGSTRING __extension__ in imports.h and use it to silence gccBrian Paul2006-11-152-13/+10
| | | | warnings about long string literals.
* Comments for operations.Brian Paul2006-11-151-54/+66
|
* reindentBrian Paul2006-11-052-1771/+1822
|
* Fix for glGetVertexAttribfvNV, bug 8883Brian Paul2006-11-041-3/+18
|
* fix error msgBrian Paul2006-11-041-1/+1
|
* fix for glGetVertexAttribfvARB, bug 8883Brian Paul2006-11-041-1/+6
|
* Fix _mesa_IsProgram() and _mesa_IsShader()Brian Paul2006-11-031-4/+16
|
* implement _mesa_GetShaderiv()Brian Paul2006-11-031-2/+30
|
* implement _mesa_GetProgramiv()Brian Paul2006-11-031-3/+40
|
* Simplify GET_CURRENT_LINKED_PROGRAM() macro and calling code.Brian Paul2006-11-031-34/+29
|
* Use inlined uniform() helper function in all the glUniform*() function toBrian Paul2006-11-033-270/+193
| | | | | | | reduce duplicated code. Finish up _program_ReadUniform() for non-float types. Implement _mesa_GetUniformivARB(). Simplify the _program_WriteUniform() function a bit.
* Added OpenGL 2.1 glUniformMatrix* functions.Brian Paul2006-11-033-127/+199
| | | | | Refactor the _mesa_UniformMatrix() functions to use a helper function. Implement GetUniformfv function (might need more work someday).
* reformat comments in Doxygen styleBrian Paul2006-11-031-44/+71
|
* reindentBrian Paul2006-11-031-1225/+1264
|
* s/_mesa_IsProgram2/_mesa_IsProgram/Brian Paul2006-11-022-2/+2
|
* Rename _mesa_IsProgram() to _mesa_IsProgramARB() to avoid collision with theBrian Paul2006-11-024-31/+32
| | | | OpenGL 2.0 function of the same name.
* OpenGL 2.0 entrypointsBrian Paul2006-11-022-0/+138
|
* run indent on the codeBrian Paul2006-11-021-865/+821
|
* minor clean-ups, simplifications and new commentsBrian Paul2006-10-311-26/+21
|
* code tweaks, remove old commentsBrian Paul2006-10-301-65/+16
|
* Move gl_vertex_program_machine struct out of mtypes.h and put into nvvertexec.h.Brian Paul2006-10-303-131/+170
| | | | | Massage nvvertexec.c code to work more like s_nvfragprog.c - another step toward unifying vertex/fragment program execution.
* New _mesa_exec_vertex_state_program() function. Start of some re-org.Brian Paul2006-10-293-9/+28
|
* fix wrong inequalityBrian Paul2006-10-291-1/+1
|
* Change _mesa_init_instruction() to initialize an array of instructions.Brian Paul2006-10-296-26/+31
|
* Program instructions are initialized before parsing so no need to setBrian Paul2006-10-291-7/+1
| | | | | | Abs, NegateAbs, CondMask and CondSwizzle fields to defaults here. CondMask was getting mis-set. Removing the incorrect assignment improves fragment program speed by 15%.
* special case END in _mesa_print_instruction()Brian Paul2006-10-281-0/+3
|
* Implement _mesa_append_fog_code() for fragment program fog options.Brian Paul2006-10-282-19/+178
|
* Fix nonportable pointer+unsigned arithmetic. Use pointer+int.Michal Krol2006-10-191-25/+28
|
* new assertions - one of which is currently failing with arbfslight.cBrian Paul2006-10-171-0/+4
|
* Indent and cosmetic changes.Michal Krol2006-10-134-694/+772
|
* added shaderobjects_3dlabs.cBrian Paul2006-10-111-1/+2
|
* remove 3dlabs.cBrian Paul2006-10-111-2/+1
|
* List of source (.c) files in each directory.Brian Paul2006-10-113-0/+36
| | | | | To be included by X.org Makefile.am files so that lists of files don't need to be hardcoded and frequently updated there.
* a step toward moving run-time vertex program state out of GLcontextBrian Paul2006-10-103-31/+32
|
* Move the fp_machine struct into s_nvfragmprog.c since (except for programBrian Paul2006-10-101-6/+10
| | | | debug) it's only used there.
* s/GLuint/GLbitfield/Brian Paul2006-10-101-2/+2
|
* If program is position invariant, set VERT_BIT_POS in InputsRead field.Brian Paul2006-10-101-2/+4
| | | | Fixes broken "OPTION NV_position_invariant".
* Add GLSL preprocessor.Michal Krol2006-09-265-17/+1253
|
* Fix Windows newlines.Michal Krol2006-09-264-1213/+1060
|
* Add syntax files for expression and directive preprocessor.Michal Krol2006-09-269-28/+1332
| | | | | Fix syntax errors in builtin library 1.2 sources. All derivative files (*_gc.h and *_syn.h) are generated by Makefile.
* new comments, indentation fixesBrian Paul2006-09-211-11/+25
|
* Add a new internal program parameter value STATE_TEXRECT_SCALE whichKeith Whitwell2006-09-202-0/+12
| | | | | | provides 1/width and 1/height of the active texture, useful for implementing ARB_texture_rectangle support on hardware which only supports ARB_npot-style texturing.
* Export _mesa_print_alu_instruction() to allow drivers to roll theirKeith Whitwell2006-09-202-41/+43
| | | | | | own debug code for programs with driver-private opcodes. Remove redundant loop in _mesa_num_inst_src_regs().
* for VERTEX_ATTRIB_WEIGHT, use break, not returnBrian Paul2006-09-061-1/+2
|
* Hack for Warcraft (bug 8060): allow 'vertex.weight' to be referenced inBrian Paul2006-09-051-0/+10
| | | | | vertex program, even though it's not really supported. Results will be undefined, but Warcraft doesn't actually use the attribute.
* fix typo in enable_parser_extensions(): s/point_parameters/vertex_blend/Brian Paul2006-09-051-1/+1
|