Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove incorrect assertions | Brian | 2007-03-26 | 1 | -2/+0 |
| | |||||
* | minor status updates | Brian | 2007-03-26 | 1 | -4/+2 |
| | |||||
* | disable printing shader program debug infopost-merge-glsl-compiler-1 | Brian | 2007-03-26 | 1 | -4/+4 |
| | |||||
* | merge of glsl-compiler-1 branch | Brian | 2007-03-26 | 311 | -49338/+31224 |
|\ | |||||
| * | disable free() until other issues can be fixed... | Brian | 2007-03-26 | 1 | -0/+2 |
| | | |||||
| * | fix mem leak, add comments | Brian | 2007-03-26 | 1 | -3/+15 |
| | | |||||
| * | fix mem leak | Brian | 2007-03-24 | 1 | -7/+3 |
| | | |||||
| * | disable free(var->aux) -- can lead to segfault | Brian | 2007-03-24 | 1 | -0/+2 |
| | | |||||
| * | fix mem leak | Brian | 2007-03-24 | 1 | -0/+3 |
| | | |||||
| * | fix some mem leaks | Brian | 2007-03-24 | 1 | -6/+9 |
| | | |||||
| * | Free shader-related context state: _mesa_free_shader_state() | Brian | 2007-03-24 | 3 | -0/+20 |
| | | |||||
| * | free prog->Attributes in _mesa_delete_program() | Brian | 2007-03-24 | 1 | -1/+3 |
| | | |||||
| * | fix mistake in _slang_free_ir() | Brian | 2007-03-24 | 1 | -1/+1 |
| | | |||||
| * | Properly free the slang_ir_node->Store data (use ref counting). | Brian | 2007-03-24 | 2 | -12/+46 |
| | | |||||
| * | When computing render_inputs_bitset, omit primary color if we have a ↵ | Brian | 2007-03-24 | 1 | -10/+11 |
| | | | | | | | | fragment program and it doesn't need FRAG_ATTRIB_COL0. Silences valgrind warnings. | ||||
| * | move some code into new slang_ir.c file | Brian | 2007-03-24 | 4 | -334/+30 |
| | | |||||
| * | IR utility functions | Brian | 2007-03-24 | 1 | -0/+354 |
| | | |||||
| * | document internal compiler options | Brian | 2007-03-23 | 1 | -1/+45 |
| | | |||||
| * | Fix issues related to the 'continue' statement. | Brian | 2007-03-23 | 3 | -52/+126 |
| | | | | | | | | | | | | | | | | IR_LOOP now has two children: the body code, and the tail code. Tail code is the "i++" part of a for-loop, or the expression at the end of a "do {} while(expr);" loop. "continue" translates into: "execute tail code; CONT;" Also, the test for infinite do/while loops was incorrect. | ||||
| * | consolidate some code | Brian | 2007-03-23 | 1 | -7/+2 |
| | | |||||
| * | Add the ability to generate programs that doesn't use condition codes. | Brian | 2007-03-23 | 8 | -51/+176 |
| | | | | | | | | | | | | | | 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. | ||||
| * | minor tweaks | Brian | 2007-03-23 | 1 | -2/+2 |
| | | |||||
| * | updated comment | Brian | 2007-03-23 | 1 | -1/+1 |
| | | |||||
| * | updated comment | Brian | 2007-03-22 | 1 | -1/+1 |
| | | |||||
| * | Overhaul emit_compare() function. | Brian | 2007-03-22 | 3 | -36/+143 |
| | | | | | | | | | | | | | | | | Previously, comparing vec2, vec3, vec4 was broken. Added IR_EQUAL, IR_NOTEQUAL nodes/operators to compute boolean equality/inequality vs. IR_SEQUAL/IR_SNEQUAL which work component-wise. Use IR_EQUAL/IR_NOTEQUAL for the == and != operators. To compute vec4 equality, use SNE, DP4, SEQ instruction sequence. | ||||
| * | First pass at implementing structure compares. | Brian | 2007-03-22 | 1 | -9/+28 |
| | | | | | | | | | | Need to improve this. There may be holes in a structure so we can't just blindly compare the full 4-float registers. | ||||
| * | use _mesa_copy_instructions() | Brian | 2007-03-22 | 4 | -8/+5 |
| | | |||||
| * | In _mesa_add_unnamed_constant() and _mesa_lookup_parameter_constant() allow ↵ | Brian | 2007-03-22 | 3 | -43/+61 |
| | | | | | | | | | | | | | | | | swizzleOut==NULL. There are times when we don't want to allow swizzling when searching for or adding vector constants. Passing NULL for swizzleOut disables swizzling. This fixes a constant/swizzle bug in link_uniform_vars(). | ||||
| * | print conditional writemask, if enabled | Brian | 2007-03-22 | 1 | -0/+6 |
| | | |||||
| * | added SWIZZLE_XYZW | Brian | 2007-03-21 | 1 | -0/+1 |
| | | |||||
| * | Support for user-defined structures. | Brian | 2007-03-21 | 3 | -23/+119 |
| | | | | | | | | struct == and != operators not finished yet. Struct assignment works though. | ||||
| * | disable apparently unused code | Brian | 2007-03-21 | 2 | -0/+4 |
| | | |||||
| * | indent | Brian | 2007-03-21 | 1 | -107/+111 |
| | | |||||
| * | merge from master | Brian | 2007-03-21 | 87 | -1674/+2138 |
| |\ | |||||
| * | | disable assertion | Brian | 2007-03-21 | 1 | -1/+1 |
| | | | |||||
| * | | Properly compute render_inputs_bitset when using a vertex program/shader. | Brian | 2007-03-19 | 1 | -7/+13 |
| | | | | | | | | | | | | This fixes a performance regression introduced early in glsl-compiler-1 work. | ||||
| * | | silently ignore DeleteProgram/Shader(id=0) | Brian | 2007-03-15 | 1 | -13/+19 |
| | | | |||||
| * | | in _mesa_GetColorTable, return silently if table size is 0 | Brian | 2007-03-15 | 1 | -2/+6 |
| | | | |||||
| * | | s/Tranpose/Transpose/ | Brian | 2007-03-14 | 1 | -4/+4 |
| | | | |||||
| * | | continue prev check-in: save ptr to slang_function for SLANG_OPER_CALL | Brian | 2007-03-14 | 1 | -5/+13 |
| | | | |||||
| * | | After we've found the slang_function ptr for a SLANG_OPER_CALL node, save ↵ | Brian | 2007-03-14 | 2 | -62/+76 |
| | | | | | | | | | | | | | | | | | | | | | | | | the ptr in the node for reuse. This can save a tremendous amount of time when resolving types in complex expressions. One particular shader was taking several minutes to compile but now compiles almost instantaneoulsy. | ||||
| * | | make _slang_typeof_function() static | Brian | 2007-03-14 | 2 | -40/+28 |
| | | | |||||
| * | | remove old assertion | Brian | 2007-03-14 | 1 | -1/+0 |
| | | | |||||
| * | | more bug fixing, error checking | Brian | 2007-03-13 | 1 | -2/+7 |
| | | | |||||
| * | | fix a number of issues in _mesa_uniform() | Brian | 2007-03-13 | 1 | -45/+43 |
| | | | |||||
| * | | remove bogus assertion | Brian | 2007-03-13 | 1 | -1/+0 |
| | | | |||||
| * | | document some bug fixes, lots of new features | Brian | 2007-03-13 | 1 | -5/+11 |
| | | | |||||
| * | | fix ctx->Pixel.PostConvolutionScale/Bias subscript bugs | Brian | 2007-03-13 | 1 | -6/+6 |
| | | | |||||
| * | | Check for, simplify vec2/3/4(x). Only do call adapting for constructors. | Brian | 2007-03-13 | 1 | -3/+25 |
| | | | |||||
| * | | improve literal printing | Brian | 2007-03-13 | 1 | -8/+13 |
| | | |