Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-22 | mesa: adjust OPCODE_IF/ELSE BranchTarget fields to point to ELSE/ENDIF instr. | Brian Paul | |
This is a little more logical. Suggested in bug report 25654. | |||
2009-12-22 | mesa: adjust BRK/CONT BranchTarget to always point to ENDLOOP instruction | Brian Paul | |
To be more consistant. | |||
2009-12-22 | mesa: added some assertions in BNGLOOP/ENDLOOP cases | Brian Paul | |
2009-12-07 | mesa: fix shader prog_execute strict aliasing violations | Roland Scheidegger | |
use unions instead of pointer casts. | |||
2009-10-01 | mesa: Return -FLT_MAX instead of 0 for LG2(0). | Vinson Lee | |
lim x->0 log(x) = -inf so -FLT_MAX is a better approximation than 0 for LG2(0). | |||
2009-09-24 | Merge branch 'mesa_7_5_branch' into mesa_7_6_branch | Brian Paul | |
2009-09-23 | mesa: don't bias LOD in shader interpreter; do it in swrast | Brian Paul | |
2009-08-31 | mesa: debug printf for KIL | Brian Paul | |
2009-06-03 | mesa: added NaN checking code (disabled) | Brian Paul | |
2009-06-03 | mesa: check/prevent NaN for EX2/LG2 | Brian Paul | |
2009-04-14 | mesa: merge the prog_src_register::NegateBase and NegateAbs fields | Brian Paul | |
There's really no need for two negation fields. This came from the GL_NV_fragment_program extension. The new, unified Negate bitfield applies after the absolute value step. | |||
2009-04-03 | mesa: for OPCODE_LIT, use _mesa_pow() instead of exp() and log() | Brian Paul | |
Also, s/pow/_mesa_pow/ | |||
2009-04-01 | mesa: use correct tex unit lod bias for TXB instruction | Brian Paul | |
2009-03-07 | mesa: remove GL_MESA_program_debug extension | Brian Paul | |
This was never fully fleshed out and hasn't been used. | |||
2008-12-19 | GLSL: The LOG2 macro doesn't have enough precision | Ian Romanick | |
It looks like the LOG2 macro only has 8 or 9 bits of precission, but the ARB_vertex_program spec says "accurate to at least 10 bits". | |||
2008-12-15 | mesa: rename slang_library_noise.[ch] to prog_noise.[ch] and rename functions | Brian Paul | |
The noise functions were not glsl-specific. Also, ran indent on the code to clean it up. | |||
2008-12-12 | mesa: use IFLOOR(x) instead of (int) FLOORF(x) | Brian Paul | |
2008-11-11 | mesa: allow relative indexing into all register files and indirect dst ↵ | Brian Paul | |
register indexing | |||
2008-11-07 | mesa: forgot sqrt in NRM3/4 instructions | Brian Paul | |
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: 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-09-23 | mesa: Apply MSVC portability fixes from Alan Hourihane. | José Fonseca | |
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-07-29 | mesa: Silence compiler warnings on Windows. | Brian Paul | |
2008-06-12 | glsl: allow uniforms | Zack Rusin | |
2008-05-16 | whitespace/formatting | Brian Paul | |
2008-05-14 | Updated GLSL uniform/sampler handling from gallium-0.1 branch | Brian Paul | |
Previously, the shader linker combined the uniforms used by the vertex and fragment shaders into a combined set of uniforms. This made the implementation of glUniform*() simple, but was rather inefficient otherwise. Now each shader gets its own set of uniforms (no more modelview matrix showing up in the fragment shader uniforms, for example). cherry-picked by hand from gallium-0.1 branch | |||
2008-04-22 | Fix error string | Alan Hourihane | |
2008-04-11 | fix failed assertion (parameter can be a PROGRAM_CONSTANT) | Brian Paul | |
2007-11-23 | Consolidate texture fetch code and use partial derivatives when possible. | Brian | |
2007-07-04 | Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵ | Brian | |
of -I flags. | |||
2007-05-02 | Resuscitate some of the DDX,DDY code. | Brian | |
Only works for program input registers at this time. Good enough for the common case of texcoords, though. | |||
2007-04-21 | another bit of debug code | Brian | |
2007-03-28 | Get rid of BRK0, BRK1, CONT0, CONT1 instructions. | Brian | |
2007-03-28 | print condcodes if DEBUG_PROG | Brian | |
2007-03-27 | fix another pc off-by one | Brian | |
2007-03-27 | fix off by one error in OPCODE_RET | Brian | |
2007-03-23 | Add the ability to generate programs that doesn't use condition codes. | Brian | |
ctx->Shader.EmitCondCodes determines if we use condition codes. If not, IF statement uses first operand's X component as the condition. Added OPCODE_BRK0, OPCODE_BRK1, OPCODE_CONT0, OPCODE_CONT1 to handle the common cases of conditional break/continue. | |||
2007-03-07 | more DEBUG_PROG | Brian | |
2007-03-06 | more DEBUG_PROG code | Brian | |
2007-02-25 | update comments | Brian | |
2007-02-25 | fix bounds checking in get_register_pointer() | Brian | |
2007-02-25 | Add EnvParams field to gl_program_machine, avoid passing ctx to a bunch of ↵ | Brian | |
functions. | |||
2007-02-25 | simplify _mesa_get_program_register() | Brian | |
2007-02-25 | minor clean-ups in _mesa_execute_program() | Brian | |
2007-02-25 | remove 'maxInst' parameter from _mesa_execute_program() | Brian | |
2007-02-25 | remove unused 'element' parameter from _mesa_execute_program() | Brian | |
2007-02-24 | Outputs[] array wasn't large enough, define MAX_PROGRAM_OUTPUTS, new assertions. | Brian | |