Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-11-10 | mesa: track initialization status of uniform variables. Plus, asst clean-ups. | Brian Paul | |
2008-11-10 | mesa: initial support for uniform variable initializers. | Brian Paul | |
This lets one specify initial values for uniforms in the code, avoiding the need to call glUniform() in some cases. | |||
2008-11-10 | mesa: fix logic error in GLSL linker when looking for main() shaders | Brian Paul | |
2008-11-10 | mesa: allows 'f' suffix on GLSL float literals | Brian Paul | |
2008-11-08 | mesa: remove OPCODE_INT #define | Brian | |
2008-11-07 | mesa: add support for 'centroid' qualifier in GLSL 1.20 | Brian Paul | |
2008-11-07 | mesa: add support for 'invariant' keyword for GLSL 1.20 | Brian Paul | |
2008-11-07 | mesa: reformat comments, rewrap lines, etc for a little better readability | Brian Paul | |
2008-11-07 | mesa: forgot sqrt in NRM3/4 instructions | Brian Paul | |
2008-11-07 | mesa: fix opcode table order bug | Brian Paul | |
2008-11-07 | mesa: add GLSL support for DP2, NRM3, NRM4 instructions (not actually ↵ | Brian Paul | |
emitted yet though) | |||
2008-11-07 | mesa: added DP2, DP2A instructions | Brian Paul | |
2008-11-07 | mesa: added AND/OR/NOT/XOR instructions | Brian Paul | |
2008-11-07 | mesa: include shader/prog_instruction.h | Brian Paul | |
Seems to fix a mysteriously missing build dependency. | |||
2008-11-07 | mesa: added OPCODE_NRM3/NRM4 instructions for vector normalization. | Brian Paul | |
We may emit these instructions from GLSL instead of DP3/RCP/MUL. Also, implement SSG (set sign) instruction in the interpreter. | |||
2008-11-06 | mesa: rename OPCODE_INT -> OPCODE_TRUNC | Brian Paul | |
Trunc is a more accurate description; there's no type conversion involved. | |||
2008-11-06 | mesa: update the shader programs->TexturesUsed array at link time | Brian Paul | |
If an application never calls glUniform() to set sampler variable values they'll remain 0 (the default value/unit). Now call _mesa_update_shader_textures_used() at link time in case glUniform() is never called. program->TextureUsed[] will then be correct for state validation. | |||
2008-11-05 | mesa: Fix compiler warnings on Windows. | Brian Paul | |
cherry-picked subset of a77976d2ee578d0483c64f2aa41719bbae9c1c97 | |||
2008-11-05 | mesa: fix a GLSL array indexing codegen bug | Brian Paul | |
Expressions like array[i] + array[j] didn't work properly before. | |||
2008-11-05 | mesa: remove extra \n from printf string | Brian Paul | |
2008-11-05 | mesa: add Initialized field to gl_uniform struct, for debugging purposes only | Brian Paul | |
2008-11-04 | mesa: fix float-valued GLSL vertex attribute variables | Brian Paul | |
The swizzle mask for such variables wasn't set up properly. | |||
2008-11-01 | mesa: silence warnings | Brian Paul | |
2008-11-01 | mesa: do scope replacement for while/for loops too | Brian Paul | |
This fixes a function inlining bug involving vars declared inside loop bodies. | |||
2008-11-01 | mesa: glsl tree print improvements | Brian Paul | |
2008-11-01 | mesa: fix assignment / parameter passing of sampler types | Brian Paul | |
2008-11-01 | mesa: additional debug flags for glsl debug/disassembly | Brian Paul | |
2008-10-31 | mesa: fix some bugs with precision qualifier parsing | Brian Paul | |
2008-10-31 | mesa: do scope replacement for variable initializers too | Brian Paul | |
2008-10-31 | mesa: fix copy/paste error in GLSL error msg | Brian Paul | |
2008-10-06 | mesa: set FRAG_BIT_FOGC bit in InputsUsed if FogOption!=GL_NONE | Brian Paul | |
2008-09-29 | GLSL: Implement _mesa_get_handle | Ian Romanick | |
Implementing _mesa_get_handle in using glGetIntegerv(GL_CURRENT_PROGRAM, ...) allows glGetHandleARB to work. | |||
2008-09-29 | GLSL: AttachShader returns INVALID_OPERATION for repeated attach | Ian Romanick | |
The GL_ARB_shader_objects spec says that glAttachShaderARB is supposed to return GL_INVALID_OPERATION if a shader is attached to a program where it is already attached. _mesa_attach_shader perviously returned without error in this case. | |||
2008-09-29 | mesa: asst updates for VMS | Jouk Jansen | |
2008-09-26 | mesa: fix assertion in _mesa_reference_program() | Brian Paul | |
2008-09-25 | mesa: fix function params to match prototypes | Sam Hocevar | |
2008-09-25 | mesa: prevent the slang code generator from aborting when faced with a ↵ | Sam Hocevar | |
sampler variable redeclaration. | |||
2008-09-23 | mesa: glsl: fix glGetUniform for matrix queries | Brian Paul | |
(cherry picked from commit 7a6eba54d064cadf15f93df2c1748cf5e474ef03) | |||
2008-09-23 | mesa: glsl: fix a number of glUniform issues | Brian Paul | |
Additional error checking. Allow setting elements of uniform arrays. This involves encoding both a uniform location and a parameter offset in the value returned by glGetUniformLocation(). Limit glUniform[if]v()'s count to the size of the uniform array. When setting bool-valued uniforms, convert all float/int values to 0 or 1. | |||
2008-09-23 | mesa: glsl: fix error check in get_uniformfv() | Brian Paul | |
(cherry picked from commit 18cd9c229a1fc8da8b7669b8d1d100f6bbeca183) | |||
2008-09-23 | mesa: Apply MSVC portability fixes from Alan Hourihane. | José Fonseca | |
2008-09-23 | mesa: update program->NumAddressRegs field in _slang_update_inputs_outputs() | Brian Paul | |
2008-09-23 | mesa: new gl_fragment_program fields indicating use of fog, front-facing, ↵ | Brian Paul | |
point coord (cherry picked from commit d7a7b0a10dd355fbeb7a404091a42d4ab558c820) | |||
2008-09-21 | mesa: set point state | Brian Paul | |
(cherry picked from commit af3d9dba562813ffed71691bffd7faf6665c4487) | |||
2008-09-21 | mesa: fix issues causing warnings on Windows | Brian Paul | |
2008-09-21 | mesa: Use appropriate unsigned/signed, float/integer types. | José Fonseca | |
2008-09-21 | mesa: remove unneeded #include | Brian Paul | |
(cherry picked from commit 6363960db55769db73021081b60f1028723d9f58) | |||
2008-09-21 | mesa: move fixed function vertex program builder from tnl to core mesa | Keith Whitwell | |
Also unify caching of fragment and vertex programs in shader/prog_cache.c` Brought across from gallium-0.2 | |||
2008-09-18 | mesa: prefix a bunch of #include lines with "main/". | Brian Paul | |
This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code... | |||
2008-09-17 | mesa: fix bug in previous changes to _slang_resolve_attributes() | Brian Paul | |