Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-08-25 | mesa: print some program fields in binary too | Brian Paul | |
2009-08-24 | ARB prog: Set error instead of falling through with incorrect value | Ian Romanick | |
If a fragment program only parameter was queried of a vertex program (e.g., GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB) no error would be set and a random value would be returned. This caused 'glxinfo -l' to show the same values for GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB, GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB as for GL_MAX_PROGRAM_ENV_PARAMETERS_ARB. This is confusing and incorrect. | |||
2009-08-24 | glsl: Silence gcc uninitialized variable warning. | Vinson Lee | |
2009-08-24 | ARB prog parser: Regenerate parser from previous commit | Ian Romanick | |
2009-08-24 | ARB prog parser: use correct context limits | Brian Paul | |
2009-08-24 | mesa: _mesa_layout_parameters() returns a boolean value | Brian Paul | |
2009-08-23 | ARB prog lexer: Fix lexer to eat both DOS and Unix line endings | Ian Romanick | |
2009-08-22 | ARB prog parser: include imports.h to kill some compiler warnings | Luo Jinghua | |
2009-08-20 | ARB prog parser: Revert part of previous change to constant parsing | Ian Romanick | |
The commit "ARP prog parser: Implement the spec, not what makes sense" broke the parsing of scalar constants. This commit reverts that part of that commit. Now vp_swizzle.c passes. | |||
2009-08-18 | Merge branch 'master' into asm-shader-rework-1 | Ian Romanick | |
Conflicts: src/mesa/shader/arbprogparse.c | |||
2009-08-18 | ARB prog parser: Delete the old parser | Ian Romanick | |
2009-08-18 | ARB prog: Revert some changes to debug output | Ian Romanick | |
2009-08-14 | mesa: also pass the GPU program to _mesa_append_uniforms_to_file() | Brian Paul | |
We want the post-link program at this points. | |||
2009-08-14 | Merge branch 'mesa_7_5_branch' | Brian Paul | |
2009-08-14 | mesa: new _mesa_append_uniforms_to_file() debug/logging function | Brian Paul | |
2009-08-13 | glsl: fix some uninitialized pointers | Brian Paul | |
2009-08-13 | glsl: fix incorrect attribute size | Brian Paul | |
2009-08-12 | glsl: remove duplicate frag input entry | Brian Paul | |
2009-08-12 | Merge branch 'new-frag-attribs' | Brian Paul | |
This branch introduces new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs for GLSL gl_FrontFacing and gl_PointCoord. Before, these attributes were packed with the FOG attribute. That made things complicated elsewhere. | |||
2009-08-12 | glsl: add gl_Vertex, gl_Normal, etc to list of active attributes | Brian Paul | |
If a vertex shader uses gl_Vertex, gl_Normal, etc, we need to include them when the user queries the list of active attributes. Before this we were just including the user-defined attributes. | |||
2009-08-12 | glsl: move predefined shader input/output info/code to slang_builtin.c | Brian Paul | |
This is a more logical place for this code. Also add some functions for querying vertex shader input names, types, etc. | |||
2009-08-04 | mesa: log the shader checksum | Brian Paul | |
2009-08-04 | mesa: compute, print shader checksum | Brian Paul | |
2009-07-30 | ARB prog parser: Add support for RGBA components to SWZ instruction in fp | Ian Romanick | |
2009-07-30 | ARB prog parser: Prevent NULL ptr deref for KIL instruction | Ian Romanick | |
The KIL instruction doesn't have a destination register, so dereferencing dst in asm_instruction_ctor would cause a segfault. | |||
2009-07-30 | Merge branch 'mesa_7_5_branch' | Brian Paul | |
2009-07-30 | mesa: move misplaced return statement | Brian Paul | |
Fixes regression from commit 7d93f817c9c5222e2bdbaa9fa9f03fc502bfe878 | |||
2009-07-30 | Merge branch 'mesa_7_5_branch' | Brian Paul | |
2009-07-30 | mesa: add missing return after catching program error | Brian Paul | |
2009-07-29 | ARP prog parser: Implement the spec, not what makes sense | Ian Romanick | |
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 | |