summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
Commit message (Collapse)AuthorAgeFilesLines
* merge current trunk into vbo branchAlan Hourihane2006-11-029-256/+259
|
* 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
|
* Consolidate common case of _mesa_set_program_error() followed by _mesa_error()Brian Paul2006-09-051-248/+172
| | | | | | in new program_error() function. Add const qualifiers in many places. Reorder some debug code to prevent referencing free'd memory.
* Check that we don't try to reference more than one target of a texture unit.texmem_0_2_20060912Brian Paul2006-08-301-1/+17
| | | | | For example, referencing both "texture[0], 2D" and "texture[0], CUBE" in one program is an error.
* s/0/VERT_RESULT_HPOS/Brian Paul2006-08-301-1/+1
|
* Add missing vec4 instructions to the interpreter.Michal Krol2006-08-303-30/+176
| | | | Other cosmetic changes.
* fix initialization of native resource usage of vertex/fragment programsRoland Scheidegger2006-08-301-0/+10
|
* replace abort with _mesa_problem()Brian Paul2006-08-291-1/+2
|
* Free vertex program TnlData, if any. Fixes a mem leak.Brian Paul2006-08-251-0/+7
|
* Rearrange glBindProgram() code to do all error checking before changingBrian Paul2006-08-251-51/+43
| | | | the binding. Prevent a potential dangling pointer error. SF Bug 1544507.
* Rename _mesa_append_modelview_code() to _mesa_insert_mvp_code().Brian Paul2006-08-252-23/+24
| | | | | The four DP4 instructions are now inserted at the top of the program instead of appended to tail.
* use _mesa_alloc_instructions()Brian Paul2006-08-253-8/+5
|
* added _mesa_alloc_instructions() utility functionBrian Paul2006-08-252-0/+16
|
* update MAX_INSTRUCTIONS limitBrian Paul2006-08-241-1/+4
|
* Cg tries to bind NV fragment programs to the GL_FRAGMENT_PROGRAM_ARB targetBrian Paul2006-08-241-1/+22
| | | | | | with glBindProgramARB(). I guess the GL_ARB_fragment_program specification allows that, but Mesa didn't. Relaxed the check with a new predicate function: compatible_program_targets().
* scalar sources such as 'time.x' weren't accepted by parserBrian Paul2006-08-241-2/+16
|
* Functions for vertex/fragment program transformations, optimizations, etc.Brian Paul2006-08-242-0/+183
|
* use _mesa_realloc_instructions()Brian Paul2006-08-241-6/+6
|
* Added _mesa_realloc_instructions() utility function.Brian Paul2006-08-242-2/+38
| | | | Fixed/updated comments for parameter list functions.
* Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoidBrian Paul2006-08-233-16/+29
| | | | | | a lot of casting elsewhere. Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300 driver.
* More GLSL preprocessor code:Michal Krol2006-08-215-43/+230
| | | | | | | Rename slang_version.syn to slang_pp_version.syn. The #version directive understands version 120. Cosmetic changes in version preprocessor. Checks if requested version is supported by the compiler.
* GLSL 1.20 constructors and operators.Michal Krol2006-08-211-0/+1716
|
* Add support for GL_EXT_gpu_program_parameters. Any driver that enablesIan Romanick2006-08-152-0/+98
| | | | | either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well.
* Remove extraneous trailing semicolon.Ian Romanick2006-08-151-1/+1
|
* GLSL 1.20 built-in library.Michal Krol2006-08-092-0/+230
|
* More GLSL code - more support for vec4 operations on x86 back-end.Michal Krol2006-08-097-314/+412
|
* Enable vec4 extension for x86 back-end.Michal Krol2006-08-025-37/+220
|
* Add vec4 extension.Michal Krol2006-08-027-5/+288
|
* Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.Michal Krol2006-08-014-4/+137
|
* Program to convert .syn file to .h headers.Michal Krol2006-07-301-0/+72
|