summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2010-04-22ir_to_arbfp: Complain when we find a call to a function.arbfpEric Anholt1-11/+2
2010-04-22ir_to_arbfp: Start adding params for constant values.Eric Anholt1-1/+27
2010-04-22ir_to_arbfp: Make get_temp_name_for_var disambiguate names.Eric Anholt2-17/+34
2010-04-22ir_to_arbfp: Add support for sqrt.Eric Anholt4-11/+77
2010-04-22ir_to_arbfp: Add support for dot products.Eric Anholt4-11/+201
2010-04-22ir_to_arbfp: Add support for binop_div and binop_subEric Anholt4-17/+117
2010-04-22ir_to_arbfp: Replicate channels out when handling smaller than vec4 types.Eric Anholt1-19/+23
2010-04-22ir_to_arbfp: Add a bit of stuff for swizzling source registers.Eric Anholt5-70/+103
2010-04-22ir_to_arbfp: New WIP code for codegen to ARB_fragment_program.Eric Anholt7-8/+1041
2010-04-22Put static pointers to vec[234]_types along with the static float_type.Eric Anholt3-39/+21
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
2010-04-07Emit a warning when an unknown extension is used with #extensionIan Romanick1-0/+3
2010-04-07Add _mesa_glsl_warning to emit warnings to the shader logIan Romanick2-0/+28
2010-04-07Begin processing #extension directiveIan Romanick3-2/+75
2010-04-07Use _mesa_glsl_shader_target_nameIan Romanick1-4/+4
2010-04-07Add utility function to get the name of a shader targetIan Romanick2-0/+19
2010-04-07Call glsl_type::get_instance correctly: the number of rows must be at least 1Ian Romanick1-2/+2
2010-04-07Eat whitespace while in the PP stateIan Romanick1-0/+1
2010-04-07Partially fix comment handling in preprocessor directives.Ian Romanick1-0/+1
2010-04-07Add support for bool to ir_equal and ir_nequal constant handlingIan Romanick1-0/+6
2010-04-07Add gl_ClipDistance in fragment shaderIan Romanick1-3/+6
2010-04-07Generate correct IR for do-while loopsIan Romanick2-20/+40