Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-29 | ARB prog parser: Get program limits from the context | Ian Romanick | |
Some debug code from the older stand-alone version of the assembler was hanging around and needed to go. | |||
2009-07-29 | ARB prog lexer: attenuation is not just for vp | Ian Romanick | |
2009-07-29 | ARB prog parser: Finish implementing fp state.depth.range | Ian Romanick | |
2009-07-29 | ARB prog: Fix the order of swizzle application | Ian Romanick | |
The swizzle used to generate the "original" value from the value stored in the parameter array happens before the swizzle specified in the instruction. This fixes problems seen in progs/vp/vp-tris with arl-*.txt. | |||
2009-07-29 | mesa: add new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs | Brian Paul | |
Previously, the FOGC attribute contained the fragment fog coord, front/back- face flag and the gl_PointCoord.xy values. Now each of those things are separate fragment program attributes. This simplifies quite a few things in Mesa and gallium. Need to test i965 driver and fix up point coord handling in the gallium/draw module... | |||
2009-07-29 | Indentation fixes. | Ian Romanick | |
2009-07-29 | ARB prog parser: Set NumAttributes based on the number of attribs read | Ian Romanick | |
2009-07-28 | ARB prog parser: Set component negation mask for SWZ instruction | Ian Romanick | |
2009-07-28 | ARB prog parser: Set correct register file for OUTPUT variables | Ian Romanick | |
2009-07-27 | ARB prog parser: Add support for GL_MESA_texture_array | Ian Romanick | |
This isn't really tested yet as no drivers actually support this extension. | |||
2009-07-27 | ARB prog parser: More robust error message for bad OPTION string | Ian Romanick | |
2009-07-27 | ARB prog parser: Add support for GL_ARB_fragment_program_shadow | Ian Romanick | |
Passes the piglit asmparsertest shadow-0[123].txt tests and progs/demos/shadowtex. | |||
2009-07-27 | ARB prog parser: Fix handling of RECT | Ian Romanick | |
Require that GL_{ARB,EXT,NV}_texture_rectangle be supported before allowing use of RECT texture target. | |||
2009-07-27 | ARB prog: Fix parameters to _mesa_calloc | Ian Romanick | |
So totally awesome that _mesa_calloc has a different parameter signature than calloc. Why do these libc wrappers still exist?!? | |||
2009-07-27 | ARB prog parser: Correct handling of some extensions that interact w/ARB_vp | Ian Romanick | |
2009-07-27 | ARB prog: Update generated files missed on previous two commits | Ian Romanick | |
The changes are, as it turns out, purely cosmetic. | |||
2009-07-27 | ARB prog: Delete comment about possibly needing to free a buffer | Ian Romanick | |
Valgrind doesn't complain about a leak here, so delete the comment about possibly needing to free the state returned by yy_scan_bytes. | |||
2009-07-27 | ARB prog: Clean up several memory leaks | Ian Romanick | |
As far as I am able to determine via code inspection and using Valgrind, that should be all of the leaks in the parser. | |||
2009-07-27 | Add destructor for symbol_table | Ian Romanick | |
2009-07-27 | Add destructor for hash_table | Ian Romanick | |
2009-07-27 | r300/compiler: Add rc_print_program | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Move vertex program compilation to compiler | Nicolai Hähnle | |
This is just the first step of refactoring. The separation is not yet clean enough with this commit. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-24 | ARB prog: Layout parameters from parameter type, not src type | Ian Romanick | |
Use the type stored in the Parameters array to determine the layout instead of the type in the instruction register field. Also, update the instruction register field based on the parameter type. This makes Google Earth work exactly like with Mesa master. | |||
2009-07-24 | ARB prog: _mesa_print_program output should go to same place as _mesa_printf | Ian Romanick | |
2009-07-24 | ARB prog parse: Fix cut-and-paste error for constant vectors | Ian Romanick | |
2009-07-24 | ARB prog: get frag prog texture info from the right place | Ian Romanick | |
This gets basic texturing working. w00t! | |||
2009-07-22 | parser: Clean up a bunch of silly compiler warnings | Ian Romanick | |
2009-07-22 | parser: Track a few more frag prog related values | Ian Romanick | |
2009-07-22 | parser: Ensure that param_binding_type is set correctly | Ian Romanick | |
2009-07-22 | GIT ignore program_parse.output | Ian Romanick | |
2009-07-22 | parser: Set NumParameters | Ian Romanick | |
2009-07-22 | parser: Clean up generation of error strings during assembly | Ian Romanick | |
2009-07-22 | parser: Initialize unused instruction source registers | Ian Romanick | |
The 965 driver expects unused source registers (e.g., SrcReg[2] of a DP3 instruction) to have a register file of PROGRAM_UNDEFINED. Initializing these source registers ensures that this happens. | |||
2009-07-22 | parser: Anonymous constants come from the PROGRAM_CONSTANT file | Ian Romanick | |
2009-07-20 | ARB_fp/vp: Initial import of new ARB vp/fp assembler | Ian Romanick | |
This still needs quite a bit of work, but a bunch of the programs in progs/vp produce correct results. | |||
2009-07-20 | Add new _mesa_new_parameter_list_sized to pre-allocate a parameter list | Ian Romanick | |
2009-07-09 | Merge branch 'mesa_7_5_branch' | Brian Paul | |
2009-07-09 | glsl: do const parameter optimization for array element actual parameters | Brian Paul | |
When a function parameter is const-qualified we can avoid making a copy of the actual parameter (we basically do a search/replace when inlining). This is now done for array element params too, resulting in better code (fewer MOV instructions). We should allow some other types of function arguments here but let's be conservative for the moment. | |||
2009-07-09 | glsl: fix incorrect indexing for gl_TextureMatrix[i][j] | Brian Paul | |
The two indexes were mixed up when accessing a row of a matrix in an array of matrices. | |||
2009-07-03 | Merge branch 'mesa_7_5_branch' | Jakob Bornecrantz | |
Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c | |||
2009-07-03 | mesa/shaders: fix gl_NormalMatrix state parameters | Keith Whitwell | |
gl_NormalMatrix is the inverse transpose of the modelview matrix, but as every matrix here needs to be transposed, we end up with {MODELVIEW_MATRIX, INVERSE}. | |||
2009-07-02 | mesa: s/TRUE/GL_TRUE | Keith Whitwell | |
Fix compile breakage on Linux. | |||
2009-07-02 | mesa: ensure UsesFogFragCoord value is set for non-glsl shaders | Keith Whitwell | |
With recent changes to support frontfacing in glsl, it is necessary to ensure that the UsesFogFragCoord value is accurate in all shaders. We were previously not setting it for fixed-function and ARB_fs shaders. | |||
2009-06-26 | glsl: check number of varying variables against the limit | Brian Paul | |
Link fails if too many varying vars. (cherry picked from master, commit cc58fbcf2c5c88f406818db60910f537e03610d6) | |||
2009-06-26 | glsl: move/simplify error checking for 'return' statements | Brian Paul | |
2009-06-26 | glsl: overhaul 'return' statement handling | Brian Paul | |
A new node type (SLANG_OPER_RETURN_INLINED) is used to denote 'return' statements inside inlined functions which need special handling. All glean glsl1 tests pass for EmitContReturn=FALSE and TRUE. | |||
2009-06-26 | glsl: predicate assignments according to __returnFlag | Brian Paul | |
Fixes glean "function with early return (3)" case (when EmitContReturn=FALSE). | |||
2009-06-26 | glsl: added slang_variable::is_global field | Brian Paul | |
2009-06-26 | glsl: silence a problem warning | Brian Paul | |
2009-06-26 | glsl: code refactoring for return statements | Brian Paul | |