summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2010-04-23Make the linenumber output of the preproc be glsl linenumber format.preprocessorEric Anholt4-4/+10
2010-04-23preprocessor: Pass through #extension and #version lines to the parser.Eric Anholt1-3/+23
2010-04-23Rip out #include support from the preprocessor.Eric Anholt2-120/+0
2010-04-23Integrate the preprocessor into glsl2.Eric Anholt7-10/+190
2010-04-23Replace long long with int64_t usage to shut up -ansi -pedantic.Eric Anholt2-5/+6
2010-04-23Integrate the preprocessor into the build.Eric Anholt6-176/+22
2010-04-23Import PCC's C preprocessor for use in making the GLSL preprocessor.Eric Anholt8-1/+3622
2010-04-23builtin_functions: Clean up compiler warning about unused name, instructions.Eric Anholt1-35/+33
2010-04-23De-obfuscate some of builtin_types.h.Eric Anholt1-37/+37
2010-04-23ir_function_inlining: Implement inlining in many more cases.Eric Anholt4-21/+240
2010-04-23Put static pointers to vec[234]_types along with the static float_type.Eric Anholt4-39/+24
2010-04-23Replace builtin_types.h generation with the generated output.Eric Anholt4-354/+255
2010-04-22Fix the swizzling of vector constructors from scalars.Eric Anholt1-1/+1
2010-04-22ir_function_inlining: Avoid NULL dereference on assignment conditions.Eric Anholt1-3/+5
2010-04-21Fix ir_dead_code for function refactoring.Kenneth Graunke2-11/+14
2010-04-21Emit body for constructors in the right place.Kenneth Graunke1-2/+2
2010-04-21Remove ir_label since it is no longer used.Kenneth Graunke12-84/+0
2010-04-21Refactor IR function representation.Kenneth Graunke8-53/+61
2010-04-21Use ir_function_signature::function_name() rather than direct access.Kenneth Graunke1-2/+2
2010-04-21Ensure that both parameter lists are the same length in function overloading.Kenneth Graunke2-8/+33
2010-04-21Add missing break statementIan Romanick1-0/+1
2010-04-19Remove dead code assignments and variable declarations.Eric Anholt5-0/+383
2010-04-19Mark some variables as having usage beyond the shader's scope.Eric Anholt3-2/+33
2010-04-16While-loops also start a new scope.Ian Romanick1-3/+3
2010-04-16Avoid generating ir_if for &&, || short-circuiting with constant LHS.Eric Anholt1-42/+83
2010-04-16Add support for inlining calls done inside of expressions.Eric Anholt4-0/+269
2010-04-16Make && and || only evaluate the RHS when the LHS requires it.Eric Anholt1-4/+71
2010-04-14Add an ir_if simplification pass.Eric Anholt5-1/+276
2010-04-14Check that the return type of function definition matches its prototype.Eric Anholt1-1/+8
2010-04-14Check that function definition parameter qualifiers match proto qualifiers.Eric Anholt1-0/+23
2010-04-14Return the rvalue of a variable decl to fix while (bool b = condition) {}Eric Anholt1-5/+13
2010-04-14Fix the type of gl_FogFragCoord.Eric Anholt1-2/+2
2010-04-08Add an implementation of gentype-only clamp().Eric Anholt1-1/+18
2010-04-08Add builtin implementations of vector comparison functions.Eric Anholt1-6/+153
2010-04-08Add support for builtin gentype mix(gentype a, gentype b)Eric Anholt1-2/+23
2010-04-08Add buitlin functions for any(), all(), not().Eric Anholt1-3/+203
2010-04-08Add builtin normalize() functions.Eric Anholt1-0/+20
2010-04-08Repeat the optimization passes until we stop making progress.Eric Anholt2-5/+10
2010-04-08Add inlining support for array dereferences.Eric Anholt1-1/+14
2010-04-08Inline functions consisting of a return of an expression.Eric Anholt6-1/+652
2010-04-07Remove extraneous base-class constructor callsIan Romanick2-17/+10
2010-04-07Make function bodies rely on the parameter variable declarations.Eric Anholt4-15/+12
2010-04-07Make dot() take the right number of args.Eric Anholt1-6/+7
2010-04-07Fix the returns of builtin functions to actually return.Eric Anholt1-19/+8
2010-04-07Put function bodies under function signatures, instead of flat in the parent.Eric Anholt7-27/+42
2010-04-07Clarify the types of various exec_list in ir.hEric Anholt2-8/+13
2010-04-07Treat texture rectangles as an extension that is enabled be defaultIan Romanick4-11/+42
2010-04-07Add support for GL_ARB_draw_buffers extensionIan Romanick3-6/+54
2010-04-07Clean up error reporting in _mesa_glsl_process_extensionIan Romanick1-5/+12
2010-04-07Add tracking for extension based warningsIan Romanick1-0/+5