summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Ian Romanick [Thu, 11 Mar 2010 22:48:51 +0000 (14:48 -0800)]
Default function parameters to 'in' instead of auto
Ian Romanick [Thu, 11 Mar 2010 22:46:19 +0000 (14:46 -0800)]
Add a handful of simple tests for function calls in constructors
Ian Romanick [Thu, 11 Mar 2010 22:34:27 +0000 (14:34 -0800)]
Add ir_call call to represent function calls.
Ian Romanick [Thu, 11 Mar 2010 22:23:41 +0000 (14:23 -0800)]
Fix broken constructor of ir_instruction base class
Make the constructor inline-able, and don't try to initialize it as a
simple_node. It hasn't been derived from simple_node in a long time.
Ian Romanick [Thu, 11 Mar 2010 22:08:33 +0000 (14:08 -0800)]
Track generation of errors and halt compilation appropriately
Ian Romanick [Wed, 10 Mar 2010 22:12:22 +0000 (14:12 -0800)]
Differentiate in ast_function_expression between constructors and func. calls
Ian Romanick [Wed, 10 Mar 2010 21:58:12 +0000 (13:58 -0800)]
Tell emacs that C++ .h files are C++
Ian Romanick [Wed, 10 Mar 2010 21:26:52 +0000 (13:26 -0800)]
Make ast_function_expression subclass of ast_expression
Ian Romanick [Wed, 10 Mar 2010 21:25:56 +0000 (13:25 -0800)]
Simplified constructor for identifier expressions
Ian Romanick [Wed, 10 Mar 2010 18:43:16 +0000 (10:43 -0800)]
IR variable: Initial work to support GLSL built-in variables
Ian Romanick [Wed, 10 Mar 2010 18:42:37 +0000 (10:42 -0800)]
Include cstdlib to be sure size_t is available
Ian Romanick [Wed, 10 Mar 2010 17:55:22 +0000 (09:55 -0800)]
Move top-level AST to HIR conversion to _mesa_ast_to_hir
Ian Romanick [Wed, 10 Mar 2010 17:31:30 +0000 (09:31 -0800)]
Require the shader target be specified to the driver program
Ian Romanick [Wed, 10 Mar 2010 17:27:03 +0000 (09:27 -0800)]
Use ir_print_visitor to dump IR tree
Ian Romanick [Wed, 10 Mar 2010 08:52:39 +0000 (00:52 -0800)]
Fix typeo in gl_FogParameters.scale (was scalre)
Ian Romanick [Wed, 10 Mar 2010 08:28:59 +0000 (00:28 -0800)]
AST to IR: Mark 'varying' in a vertex shader as 'out'
Ian Romanick [Wed, 10 Mar 2010 08:21:27 +0000 (00:21 -0800)]
ir_variable: Initialize all attribute bits to reasonable defaults
This prevents variables from randomly having their 'invariant' or
'read_only' bits set, for example.
Ian Romanick [Wed, 10 Mar 2010 05:44:34 +0000 (21:44 -0800)]
IR print visitor: Add some support for printing types and constants
Ian Romanick [Wed, 10 Mar 2010 00:40:45 +0000 (16:40 -0800)]
IR print visitor: Print assignments
Ian Romanick [Wed, 10 Mar 2010 00:38:02 +0000 (16:38 -0800)]
Add assignment side-effect to the instruction stream
The actual assignment is a side-effect of the assignment expression.
Add it to the instruction stream and return the LHS of the assignment
as its rvalue.
Ian Romanick [Wed, 10 Mar 2010 00:23:37 +0000 (16:23 -0800)]
IR visitor: Add initial version of ir_visitor classes
The ir_visitor class is the abstract base class for all visitors.
ir_print_visitor contains the beginnings of a concrete visitor class
that will print out an IR sequence in a Lisp / Scheme-like syntax.
Ian Romanick [Tue, 9 Mar 2010 23:58:52 +0000 (15:58 -0800)]
Convert is_glsl_type_matrix to glsl_type::is_matrix
Ian Romanick [Tue, 9 Mar 2010 23:55:16 +0000 (15:55 -0800)]
Convert is_glsl_type_vector to glsl_type::is_vector
Ian Romanick [Tue, 9 Mar 2010 23:51:22 +0000 (15:51 -0800)]
Convert is_glsl_type_scalar to glsl_type::is_scalar
Ian Romanick [Tue, 9 Mar 2010 23:17:37 +0000 (15:17 -0800)]
Make glsl_type a class
Among other benefits, this cleans up a the hackery invovled in
initializing the union field in builtin_types.h.
Ian Romanick [Tue, 9 Mar 2010 07:44:24 +0000 (23:44 -0800)]
Remove unused function
Ian Romanick [Tue, 9 Mar 2010 07:44:00 +0000 (23:44 -0800)]
Conver IR structures to use exec_list instead of simple_node
Ian Romanick [Tue, 9 Mar 2010 07:42:45 +0000 (23:42 -0800)]
Add yet-another linked list type
The use of macros to access existing linked list type makes it
unsuitable for its current use as a base class. Since this type and
the accompanying macros are used all over the place in Mesa, we can't
really change them.
Ian Romanick [Tue, 9 Mar 2010 07:06:48 +0000 (23:06 -0800)]
Remove prototypes for *_to_hir functions that no longer exist
Ian Romanick [Mon, 8 Mar 2010 21:02:58 +0000 (13:02 -0800)]
Set C++ indent too.
Ian Romanick [Mon, 1 Mar 2010 21:49:10 +0000 (13:49 -0800)]
Make AST->HIR conversion a method of ast_node, re-enable
Ian Romanick [Fri, 26 Feb 2010 01:17:23 +0000 (17:17 -0800)]
autoconf for the ...
Ian Romanick [Thu, 25 Feb 2010 20:49:55 +0000 (12:49 -0800)]
Replace tacky wrapper macros with tacky in-line type-casts
Ian Romanick [Thu, 25 Feb 2010 20:24:40 +0000 (12:24 -0800)]
Convert to new interfaces so that it will compile
Convert TRUE and FALSE to true and false. Convert
_mesa_ast_get_location to ast_node::get_location.
Ian Romanick [Tue, 23 Feb 2010 03:10:25 +0000 (19:10 -0800)]
Add ast_expression_bin subclass of ast_expression
The ast_expression_bin subclass is used for all binary expressions
such as addition, subtraction, and comparisons. Several other
subclasses are soon to follow.
Ian Romanick [Tue, 23 Feb 2010 03:09:45 +0000 (19:09 -0800)]
Ignore all build products
Ian Romanick [Tue, 23 Feb 2010 02:43:08 +0000 (18:43 -0800)]
Rename .cc files to .cpp
Ian Romanick [Mon, 22 Feb 2010 21:22:10 +0000 (13:22 -0800)]
Initialize the node structure embedded in the ast_node
Ian Romanick [Mon, 22 Feb 2010 21:19:34 +0000 (13:19 -0800)]
Initial commit. lol