summaryrefslogtreecommitdiff
path: root/src/mesa/shader
AgeCommit message (Collapse)Author
2006-08-23Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoidBrian Paul
a lot of casting elsewhere. Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300 driver.
2006-08-21More 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-21GLSL 1.20 constructors and operators.Michal Krol
2006-08-15Add support for GL_EXT_gpu_program_parameters. Any driver that enablesIan Romanick
either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well.
2006-08-15Remove extraneous trailing semicolon.Ian Romanick
2006-08-09GLSL 1.20 built-in library.Michal Krol
2006-08-09More GLSL code - more support for vec4 operations on x86 back-end.Michal Krol
2006-08-02Enable vec4 extension for x86 back-end.Michal Krol
2006-08-02Add vec4 extension.Michal Krol
2006-08-01Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.Michal Krol
2006-07-30Program to convert .syn file to .h headers.Michal Krol
2006-07-20Some structure renaming. Prefix vertex/fragment-related structs withBrian Paul
"gl_" to match other structs.
2006-06-28propagate 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-12Add support for GL_APPLE_vertex_array_object. Several test programsIan 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-30Define 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-30don't generate GL_INVALID_ENUM if GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB, ↵Tilman Sauerbeck
which is actually handled
2006-05-30Remove not needed forward declaration.Michal Krol
2006-05-29don't do the check for >= MAX_VERTEX_PROGRAM_ATTRIBS twice, it's already ↵Tilman Sauerbeck
done in parse_generic_attrib_num()
2006-05-29generic attribute 0 wasn't handled correctly (Jesse Allen)Brian Paul
2006-05-24Roll _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-24fix a small memory leak in _mesa_add_state_reference()Brian Paul
2006-05-24use GLbitfield for StateFlags, improved commentsBrian Paul
2006-05-18change initialization of texcoords - not all C compilers support ↵Brian Paul
non-constant array initializers
2006-05-17unbreak the buildTilman Sauerbeck
2006-05-16Fix typo.Michal Krol
2006-05-16Change error message wording.Michal Krol
2006-05-16Rename print() to printMESA().Michal Krol
2006-05-16Fix attrib handling.Michal Krol
2006-05-16Extend printMESA function to output also to shader's info log.Michal Krol
Fix float-to-int conversion for x86 back-end.
2006-05-16Cleanup code. Change constructor prototype.Michal Krol
2006-05-16Cleanup code.Michal Krol
2006-05-16Change constructor prototype.Michal Krol
Fix struct field accessing.
2006-05-16Remove carriage returns.Michal Krol
2006-05-16Add GetInfoLogLength and WriteAttrib functions.Michal Krol
GetInfoLog for shaders if different - it is a concatenation of compiler output and executor output produced by printMESA. Fix bugs.
2006-05-16Cleanup GLhandle-to-object translation macros.Michal Krol
Fix minor bugs.
2006-04-28added a trailing newline to pacify gccTilman Sauerbeck
2006-04-28fix second memory leak (bug 5557)Brian Paul
2006-04-28fix first memory leak (bug 5557)Brian Paul
2006-04-25Remove carriage returns.Michal Krol
2006-04-25No longer alias generic vertex attribs with conventional attribs for ↵Brian Paul
GL_ARB_vertex_program.
2006-04-20check glLoadProgramNV len < 0 (bug 6679)Brian Paul
2006-04-19SrcReg->Swizzle is always initialized to SWIZZLE_NOOP, and if the programDave Airlie
specifies a 2/3/4-compontent swizzle suffix, SrcReg->Swizzles is just ORed against the new component values, without resetting it first. Attached patch makes tests/vptest2 pass. From Tilam Sauerbeck bug 6673
2006-04-18Remove carriage-return chars *ONLY*.Michal Krol
2006-04-18Add support for ARB_vertex_shader attrib binding and query.Michal Krol
Clean-up ARB_shaderobjects code a bit.
2006-04-14Silence a few -pedantic warnings.Brian Paul
Remove ^M chars. Replace _mesa_get_string() with simpler copy_string().
2006-04-11More GLSL code:Michal Krol
- use macros to access and modify render inputs bit-field; - un-alias generic vertex attributes for ARB vertex calls; - use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS (ARB code) in place of VERT_ATTRIB_MAX; - define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex attributes for ARB_vertex_shader; - fix generic attribute index range check in arbprogparse.c; - interface GLSL varyings between vertex and fragment shader; - use 64-bit optimised bitset (bitset.h) for render inputs;
2006-04-05Silence minor compiler warnings (-Wextra).Brian Paul
2006-04-04More GLSL code:Michal Krol
- add support for varyings; GLSL fixes: - pow was wrongly computed in x86 back-end;
2006-03-29move NumNativeAlu/TexInstruction assignments (Ewald Snel)Brian Paul
2006-03-24Make ARB_vp backends happy with nv arlAapo Tahkola