Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Check that we don't try to reference more than one target of a texture unit.texmem_0_2_20060912 | Brian Paul | 2006-08-30 | 1 | -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 Paul | 2006-08-30 | 1 | -1/+1 |
| | |||||
* | Add missing vec4 instructions to the interpreter. | Michal Krol | 2006-08-30 | 3 | -30/+176 |
| | | | | Other cosmetic changes. | ||||
* | fix initialization of native resource usage of vertex/fragment programs | Roland Scheidegger | 2006-08-30 | 1 | -0/+10 |
| | |||||
* | replace abort with _mesa_problem() | Brian Paul | 2006-08-29 | 1 | -1/+2 |
| | |||||
* | Free vertex program TnlData, if any. Fixes a mem leak. | Brian Paul | 2006-08-25 | 1 | -0/+7 |
| | |||||
* | Rearrange glBindProgram() code to do all error checking before changing | Brian Paul | 2006-08-25 | 1 | -51/+43 |
| | | | | the binding. Prevent a potential dangling pointer error. SF Bug 1544507. | ||||
* | Rename _mesa_append_modelview_code() to _mesa_insert_mvp_code(). | Brian Paul | 2006-08-25 | 2 | -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 Paul | 2006-08-25 | 3 | -8/+5 |
| | |||||
* | added _mesa_alloc_instructions() utility function | Brian Paul | 2006-08-25 | 2 | -0/+16 |
| | |||||
* | update MAX_INSTRUCTIONS limit | Brian Paul | 2006-08-24 | 1 | -1/+4 |
| | |||||
* | Cg tries to bind NV fragment programs to the GL_FRAGMENT_PROGRAM_ARB target | Brian Paul | 2006-08-24 | 1 | -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 parser | Brian Paul | 2006-08-24 | 1 | -2/+16 |
| | |||||
* | Functions for vertex/fragment program transformations, optimizations, etc. | Brian Paul | 2006-08-24 | 2 | -0/+183 |
| | |||||
* | use _mesa_realloc_instructions() | Brian Paul | 2006-08-24 | 1 | -6/+6 |
| | |||||
* | Added _mesa_realloc_instructions() utility function. | Brian Paul | 2006-08-24 | 2 | -2/+38 |
| | | | | Fixed/updated comments for parameter list functions. | ||||
* | Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoid | Brian Paul | 2006-08-23 | 3 | -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 Krol | 2006-08-21 | 5 | -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 Krol | 2006-08-21 | 1 | -0/+1716 |
| | |||||
* | Add support for GL_EXT_gpu_program_parameters. Any driver that enables | Ian Romanick | 2006-08-15 | 2 | -0/+98 |
| | | | | | either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well. | ||||
* | Remove extraneous trailing semicolon. | Ian Romanick | 2006-08-15 | 1 | -1/+1 |
| | |||||
* | GLSL 1.20 built-in library. | Michal Krol | 2006-08-09 | 2 | -0/+230 |
| | |||||
* | More GLSL code - more support for vec4 operations on x86 back-end. | Michal Krol | 2006-08-09 | 7 | -314/+412 |
| | |||||
* | Enable vec4 extension for x86 back-end. | Michal Krol | 2006-08-02 | 5 | -37/+220 |
| | |||||
* | Add vec4 extension. | Michal Krol | 2006-08-02 | 7 | -5/+288 |
| | |||||
* | Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492. | Michal Krol | 2006-08-01 | 4 | -4/+137 |
| | |||||
* | Program to convert .syn file to .h headers. | Michal Krol | 2006-07-30 | 1 | -0/+72 |
| | |||||
* | Some structure renaming. Prefix vertex/fragment-related structs with | Brian Paul | 2006-07-20 | 12 | -111/+113 |
| | | | | "gl_" to match other structs. | ||||
* | propagate errors from parse_generic_attrib_num in parse_attrib_binding (-> ↵ | Tilman Sauerbeck | 2006-06-28 | 1 | -2/+4 |
| | | | | don't segfault when you're trying to access invalid generic attributes | ||||
* | Add support for GL_APPLE_vertex_array_object. Several test programs | Ian Romanick | 2006-06-12 | 2 | -22/+22 |
| | | | | | | | and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required. | ||||
* | Define new NEGATE_* tokens for setting the src register's NegateBase field. | Brian Paul | 2006-05-30 | 3 | -17/+30 |
| | | | | | Before, we were using GL_TRUE/GL_FALSE in a few places. Note: only the SWZ instruction can negate individual components. | ||||
* | don't generate GL_INVALID_ENUM if GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB, ↵ | Tilman Sauerbeck | 2006-05-30 | 1 | -0/+1 |
| | | | | which is actually handled | ||||
* | Remove not needed forward declaration. | Michal Krol | 2006-05-30 | 1 | -1/+0 |
| | |||||
* | don't do the check for >= MAX_VERTEX_PROGRAM_ATTRIBS twice, it's already ↵ | Tilman Sauerbeck | 2006-05-29 | 1 | -6/+0 |
| | | | | done in parse_generic_attrib_num() | ||||
* | generic attribute 0 wasn't handled correctly (Jesse Allen) | Brian Paul | 2006-05-29 | 1 | -0/+8 |
| | |||||
* | Roll _mesa_free_parameters() into calling function (the only caller). | Brian Paul | 2006-05-24 | 2 | -43/+32 |
| | | | | | | Replace assert(0) with _mesa_warning(). Use new _mesa_align_realloc() function. New comments, clean-ups. | ||||
* | fix a small memory leak in _mesa_add_state_reference() | Brian Paul | 2006-05-24 | 1 | -0/+3 |
| | |||||
* | use GLbitfield for StateFlags, improved comments | Brian Paul | 2006-05-24 | 1 | -11/+13 |
| | |||||
* | change initialization of texcoords - not all C compilers support ↵ | Brian Paul | 2006-05-18 | 1 | -6/+36 |
| | | | | non-constant array initializers | ||||
* | unbreak the build | Tilman Sauerbeck | 2006-05-17 | 1 | -0/+1 |
| | |||||
* | Fix typo. | Michal Krol | 2006-05-16 | 1 | -2/+2 |
| | |||||
* | Change error message wording. | Michal Krol | 2006-05-16 | 2 | -10/+10 |
| | |||||
* | Rename print() to printMESA(). | Michal Krol | 2006-05-16 | 2 | -94/+101 |
| | |||||
* | Fix attrib handling. | Michal Krol | 2006-05-16 | 2 | -31/+53 |
| | |||||
* | Extend printMESA function to output also to shader's info log. | Michal Krol | 2006-05-16 | 3 | -22/+75 |
| | | | | Fix float-to-int conversion for x86 back-end. | ||||
* | Cleanup code. Change constructor prototype. | Michal Krol | 2006-05-16 | 7 | -65/+58 |
| | |||||
* | Cleanup code. | Michal Krol | 2006-05-16 | 2 | -284/+210 |
| | |||||
* | Change constructor prototype. | Michal Krol | 2006-05-16 | 2 | -36/+42 |
| | | | | Fix struct field accessing. | ||||
* | Remove carriage returns. | Michal Krol | 2006-05-16 | 2 | -84/+84 |
| | |||||
* | Add GetInfoLogLength and WriteAttrib functions. | Michal Krol | 2006-05-16 | 1 | -36/+129 |
| | | | | | | GetInfoLog for shaders if different - it is a concatenation of compiler output and executor output produced by printMESA. Fix bugs. |