Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-09-20 | Add a new internal program parameter value STATE_TEXRECT_SCALE which | Keith Whitwell | |
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. | |||
2006-09-20 | Export _mesa_print_alu_instruction() to allow drivers to roll their | Keith Whitwell | |
own debug code for programs with driver-private opcodes. Remove redundant loop in _mesa_num_inst_src_regs(). | |||
2006-09-06 | for VERTEX_ATTRIB_WEIGHT, use break, not return | Brian Paul | |
2006-09-05 | Hack for Warcraft (bug 8060): allow 'vertex.weight' to be referenced in | Brian Paul | |
vertex program, even though it's not really supported. Results will be undefined, but Warcraft doesn't actually use the attribute. | |||
2006-09-05 | fix typo in enable_parser_extensions(): s/point_parameters/vertex_blend/ | Brian Paul | |
2006-09-05 | Consolidate common case of _mesa_set_program_error() followed by _mesa_error() | Brian Paul | |
in new program_error() function. Add const qualifiers in many places. Reorder some debug code to prevent referencing free'd memory. | |||
2006-08-30 | Check that we don't try to reference more than one target of a texture unit. | Brian Paul | |
For example, referencing both "texture[0], 2D" and "texture[0], CUBE" in one program is an error. | |||
2006-08-30 | s/0/VERT_RESULT_HPOS/ | Brian Paul | |
2006-08-30 | Add missing vec4 instructions to the interpreter. | Michal Krol | |
Other cosmetic changes. | |||
2006-08-30 | fix initialization of native resource usage of vertex/fragment programs | Roland Scheidegger | |
2006-08-29 | replace abort with _mesa_problem() | Brian Paul | |
2006-08-25 | Free vertex program TnlData, if any. Fixes a mem leak. | Brian Paul | |
2006-08-25 | Rearrange glBindProgram() code to do all error checking before changing | Brian Paul | |
the binding. Prevent a potential dangling pointer error. SF Bug 1544507. | |||
2006-08-25 | Rename _mesa_append_modelview_code() to _mesa_insert_mvp_code(). | Brian Paul | |
The four DP4 instructions are now inserted at the top of the program instead of appended to tail. | |||
2006-08-25 | use _mesa_alloc_instructions() | Brian Paul | |
2006-08-25 | added _mesa_alloc_instructions() utility function | Brian Paul | |
2006-08-24 | update MAX_INSTRUCTIONS limit | Brian Paul | |
2006-08-24 | Cg tries to bind NV fragment programs to the GL_FRAGMENT_PROGRAM_ARB target | Brian Paul | |
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(). | |||
2006-08-24 | scalar sources such as 'time.x' weren't accepted by parser | Brian Paul | |
2006-08-24 | Functions for vertex/fragment program transformations, optimizations, etc. | Brian Paul | |
2006-08-24 | use _mesa_realloc_instructions() | Brian Paul | |
2006-08-24 | Added _mesa_realloc_instructions() utility function. | Brian Paul | |
Fixed/updated comments for parameter list functions. | |||
2006-08-23 | Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoid | Brian Paul | |
a lot of casting elsewhere. Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300 driver. | |||
2006-08-21 | More GLSL preprocessor code: | Michal Krol | |
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. | |||
2006-08-21 | GLSL 1.20 constructors and operators. | Michal Krol | |
2006-08-15 | Add support for GL_EXT_gpu_program_parameters. Any driver that enables | Ian Romanick | |
either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well. | |||
2006-08-15 | Remove extraneous trailing semicolon. | Ian Romanick | |
2006-08-09 | GLSL 1.20 built-in library. | Michal Krol | |
2006-08-09 | More GLSL code - more support for vec4 operations on x86 back-end. | Michal Krol | |
2006-08-02 | Enable vec4 extension for x86 back-end. | Michal Krol | |
2006-08-02 | Add vec4 extension. | Michal Krol | |
2006-08-01 | Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492. | Michal Krol | |
2006-07-30 | Program to convert .syn file to .h headers. | Michal Krol | |
2006-07-20 | Some structure renaming. Prefix vertex/fragment-related structs with | Brian Paul | |
"gl_" to match other structs. | |||
2006-06-28 | propagate errors from parse_generic_attrib_num in parse_attrib_binding (-> ↵ | Tilman Sauerbeck | |
don't segfault when you're trying to access invalid generic attributes | |||
2006-06-12 | Add support for GL_APPLE_vertex_array_object. Several test programs | Ian Romanick | |
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. | |||
2006-05-30 | Define new NEGATE_* tokens for setting the src register's NegateBase field. | Brian Paul | |
Before, we were using GL_TRUE/GL_FALSE in a few places. Note: only the SWZ instruction can negate individual components. | |||
2006-05-30 | don't generate GL_INVALID_ENUM if GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB, ↵ | Tilman Sauerbeck | |
which is actually handled | |||
2006-05-30 | Remove not needed forward declaration. | Michal Krol | |
2006-05-29 | don't do the check for >= MAX_VERTEX_PROGRAM_ATTRIBS twice, it's already ↵ | Tilman Sauerbeck | |
done in parse_generic_attrib_num() | |||
2006-05-29 | generic attribute 0 wasn't handled correctly (Jesse Allen) | Brian Paul | |
2006-05-24 | Roll _mesa_free_parameters() into calling function (the only caller). | Brian Paul | |
Replace assert(0) with _mesa_warning(). Use new _mesa_align_realloc() function. New comments, clean-ups. | |||
2006-05-24 | fix a small memory leak in _mesa_add_state_reference() | Brian Paul | |
2006-05-24 | use GLbitfield for StateFlags, improved comments | Brian Paul | |
2006-05-18 | change initialization of texcoords - not all C compilers support ↵ | Brian Paul | |
non-constant array initializers | |||
2006-05-17 | unbreak the build | Tilman Sauerbeck | |
2006-05-16 | Fix typo. | Michal Krol | |
2006-05-16 | Change error message wording. | Michal Krol | |
2006-05-16 | Rename print() to printMESA(). | Michal Krol | |
2006-05-16 | Fix attrib handling. | Michal Krol | |