Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-12 | i965: Add support for math instructions in the gen6 WM. | Zhenyu Wang | |
2010-06-12 | i965: Set the correct WM GRF start reg on gen6. | Zhenyu Wang | |
2010-06-12 | i965: Update gen6 paths for the streaming rework. | Eric Anholt | |
2010-06-12 | i965: Stream out CC unit state. | Eric Anholt | |
before: [ # ] backend test min(s) median(s) stddev. count [ 0] gl firefox-talos-gfx 31.791 32.287 1.11% 6/6 after: [ 0] gl firefox-talos-gfx 31.198 31.675 0.96% 6/6 | |||
2010-06-12 | draw/gs: copy the outputs only if we emitted something | Zack Rusin | |
2010-06-12 | softpipe: small cleanup | Zack Rusin | |
2010-06-12 | r300/compiler: fix scons build | Joakim Sindholt | |
2010-06-12 | i965: Remove unnecessary header. | Vinson Lee | |
2010-06-11 | scons: Disable i965g build if using MSVC. | Vinson Lee | |
i965g uses C99 constructs that are not supported by MSVC. | |||
2010-06-11 | scons: Disable i915g build if using MSVC. | Vinson Lee | |
i915g uses C99 constructs that are not supported by MSVC. | |||
2010-06-11 | ir_constant: Eliminate 'void *' constructor | Ian Romanick | |
All of the places that had been using the (glsl_type *, void *) constructor were actually passing an ir_constant_data for the 'void *'. The code can be greatly simplified by replacing this constructor with a (glsl_type *, ir_constant_data *) constructor. This should also help prevent one class of invalid uses of the old constructor. | |||
2010-06-11 | Use statically typed ir_constant constructors wherever possible | Ian Romanick | |
2010-06-11 | ir_reader: Use 'union ir_constant_data' in read_constant | Ian Romanick | |
2010-06-11 | ir_constant_visitor: Type of constant result is same as original expression | Ian Romanick | |
The type of the resulting constant must be the same as the type of the original expression. The changes to the code require that the case where an unhandled expression is received, and there really shouldn't be any of these, must be an exit point. | |||
2010-06-11 | ir_constant_visitor: Types of ir_binop_{equal,nequal} must match | Ian Romanick | |
The types must match exactly, so there is no reason to check the types here. | |||
2010-06-11 | ir_constant_visitor: Use 'union ir_constant_data' in expression handler | Ian Romanick | |
2010-06-11 | ir_constant_visitor: Use 'union ir_constant_data' instead of open-coded version | Ian Romanick | |
2010-06-11 | Matrix and vector constructors with a single constant scalar are constant | Ian Romanick | |
2010-06-11 | ir_constant_visitor: Handle bool-to-int and int-to-bool | Ian Romanick | |
2010-06-11 | Treat ?: with all constant subexpressions as a constant expression | Ian Romanick | |
2010-06-11 | Rearrange code in HIR conversion of ?: operator | Ian Romanick | |
There are no functional changes. Code is just moved arround. This prepares for the next set of changes that do change the functionality. | |||
2010-06-11 | ir_constant_visitor: Handle constant swizzles | Ian Romanick | |
2010-06-11 | ir_constant_visitor: Handle array access of constant vectors and matrices | Ian Romanick | |
2010-06-11 | Remove redundant type checks for constant constructors | Ian Romanick | |
All of the cases (e.g., arrays and structures) that were being filtered by these tests were already filtered by the earlier is_numeric and is_boolean tests. | |||
2010-06-11 | Do simple constant folding while processing function call parameters | Ian Romanick | |
2010-06-11 | ir_constant_visitor: Handle dereferences of constant records | Ian Romanick | |
2010-06-11 | ir_constant: Add get_record_field query | Ian Romanick | |
2010-06-11 | Add glsl_types::field_index to get the location of a record field | Ian Romanick | |
2010-06-11 | Detect and process constant record constructors | Ian Romanick | |
2010-06-11 | Move parameter processing out of match_function_by_name | Ian Romanick | |
Eventually code that processes constant structure constructors will need to use the processed list of parameters. | |||
2010-06-11 | ir_constant_visitor: Use clone to create a constant from a variable reference | Ian Romanick | |
2010-06-11 | ir_constant: Support constant structures in clone | Ian Romanick | |
2010-06-11 | ir_constant: Add storage for multiple constants for arrays and records | Ian Romanick | |
2010-06-11 | Add glsl_type::is_record query | Ian Romanick | |
2010-06-11 | Add float/bool conversion to ir_constant_expression.cpp. | Ian Romanick | |
2010-06-11 | Constant-fold constructor parameters after type conversion | Ian Romanick | |
This causes the following tests to pass: glslparsertest/shaders/CorrectMatComma2.frag One of the incorrect errors in glslparsertest/shaders/CorrectComma.frag is also eliminated. | |||
2010-06-11 | Make constructors with all constant parameters generate in-line constants | Ian Romanick | |
2010-06-11 | Construct an ir_constant from a list of ir_constant values | Ian Romanick | |
2010-06-11 | Add queries to determine if a node is a list sentinal | Ian Romanick | |
2010-06-11 | Add methods to ir_constant to get scalar components in a particular type | Ian Romanick | |
2010-06-11 | Derefence components of constants smarter | Ian Romanick | |
During generation of calls to constructors, derefernce constants by creating new constants instead of creating dereferences. | |||
2010-06-11 | Construct an ir_constant from a scalar component of another ir_constant | Ian Romanick | |
2010-06-11 | Use ir_unop_b2i when converting a bool-to-int and add a missing break | Ian Romanick | |
The previous code just had dumb cut-and-paste errors. | |||
2010-06-11 | r300/compiler: Handle more complex conditionals in loops. | Tom Stellard | |
2010-06-11 | r300/compiler: Fix warning. | Tom Stellard | |
2010-06-11 | r300/compiler: Handle SGT and SLE at the beginning of loops. | Tom Stellard | |
2010-06-11 | r300/compiler: Verify assumptions about opcode types. | Tom Stellard | |
2010-06-11 | r300/compiler: Unroll loops that decrement the counter. | Tom Stellard | |
e.g. for(i=10; i>0; i--) | |||
2010-06-11 | r300/compiler: Unroll loops that have a constant number of iterations. | Tom Stellard | |
This only works with for loops that increment the counter. e.g. for(i=0; i<10; i++) | |||
2010-06-11 | r300/compiler: Implement simple loop emulation | Tom Stellard | |
The loop emulation unrolls loops as may times as possbile while still keeping the shader program below the maximum instruction limit. At this point, there are no checks for constant conditionals. This is only enabled for fragment shaders. |