Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: only check for an empty shader if there are no compile errors | Marek Olšák | 2010-09-04 | 1 | -8/+8 |
| | |||||
* | r300/compiler: add new compiler parameter max_alu_insts | Marek Olšák | 2010-09-04 | 12 | -35/+38 |
| | |||||
* | r300/compiler: put emulate_loop_state in radeon_compiler | Marek Olšák | 2010-09-04 | 7 | -24/+20 |
| | |||||
* | ir_reader: Run ir_validate on the generated IR. | Kenneth Graunke | 2010-09-04 | 1 | -0/+2 |
| | | | | It's just too easy to get something wrong in hand-written IR. | ||||
* | ir_reader: Emit global variables at the top of the instruction list. | Kenneth Graunke | 2010-09-04 | 1 | -2/+11 |
| | | | | | | | | Since functions are emitted when scanning for prototypes, functions always come first, even if the original IR listed the variable declarations first. Fixes an ir_validate error (to be turned on in the next commit). | ||||
* | ir_reader: Drop support for reading the old assignment format. | Kenneth Graunke | 2010-09-04 | 1 | -6/+4 |
| | |||||
* | glsl: Regenerate autogenerated file builtin_function.cpp. | Kenneth Graunke | 2010-09-04 | 1 | -402/+390 |
| | |||||
* | glsl/builtins: Convert assignments to new format (with write mask). | Kenneth Graunke | 2010-09-04 | 15 | -398/+389 |
| | |||||
* | ir_reader: Read the new assignment format (with write mask). | Kenneth Graunke | 2010-09-04 | 1 | -6/+46 |
| | | | | | This preserves the ability to read the old format, for momentary compatibility with all the existing IR implementations of built-ins. | ||||
* | ir_reader: Track the current function and report it in error messages. | Kenneth Graunke | 2010-09-04 | 1 | -0/+6 |
| | |||||
* | glsl/builtins: Actually print the info log if reading a builtin failed. | Kenneth Graunke | 2010-09-04 | 1 | -0/+1 |
| | |||||
* | nvfx: consolidate tiny files | Luca Barbieri | 2010-09-04 | 9 | -134/+94 |
| | | | | | We probably want to reorganize the remaining files too, but that's for later, maybe. | ||||
* | mesa/st: add missing _mesa_set_fetch_functions in st_get_tex_image | Luca Barbieri | 2010-09-04 | 1 | -0/+2 |
| | | | | Fixes piglit fdo25614-genmipmap. | ||||
* | nvfx: fix vp DP2 | Luca Barbieri | 2010-09-04 | 1 | -1/+1 |
| | |||||
* | nvfx: implement fp SSG properly | Luca Barbieri | 2010-09-04 | 1 | -5/+18 |
| | |||||
* | nvfx: don't claim we support preds since the driver doesn't | Luca Barbieri | 2010-09-04 | 1 | -2/+2 |
| | |||||
* | nv40: support all 10 texcoords | Luca Barbieri | 2010-09-04 | 3 | -12/+19 |
| | |||||
* | nvfx: add missing context init | Luca Barbieri | 2010-09-04 | 1 | -0/+3 |
| | |||||
* | nvfx: tidy up state_emit | Luca Barbieri | 2010-09-04 | 1 | -76/+84 |
| | |||||
* | nvfx: support all coord conventions in hardware | Luca Barbieri | 2010-09-04 | 6 | -5/+41 |
| | |||||
* | nvfx: add missing pushbuffer space check | Luca Barbieri | 2010-09-04 | 1 | -0/+2 |
| | |||||
* | nvfx: support all possible vs consts | Luca Barbieri | 2010-09-04 | 1 | -10/+5 |
| | | | | | | | | We were incorrectly setting a register that limited the range of constants accessible via indirect addressing. Setting it correctly, we can address all the constants the GPU supports. | ||||
* | nvfx: set magic bit to round NPOT mipmap sizes down and not up | Luca Barbieri | 2010-09-04 | 2 | -0/+6 |
| | | | | Does any API even use rounding-up? | ||||
* | nvfx: allow nested blitter usage, fixing bug in clear | Luca Barbieri | 2010-09-04 | 3 | -8/+21 |
| | |||||
* | galahad: do map/unmap counting for resources | Brian Paul | 2010-09-03 | 2 | -0/+18 |
| | |||||
* | libgl-xlib: enable galahad support | Brian Paul | 2010-09-03 | 3 | -1/+18 |
| | | | | | If the GALLIUM_GALAHAD env var is 1 we'll wrap the regular driver with the galahad validation driver. | ||||
* | scons: added galahad to driver list | Brian Paul | 2010-09-03 | 1 | -2/+2 |
| | |||||
* | mesa: also build galahad driver | Brian Paul | 2010-09-03 | 1 | -1/+1 |
| | |||||
* | exec_list: replace class with struct | Brian Paul | 2010-09-03 | 1 | -1/+1 |
| | | | | To match the definition below. | ||||
* | mesa: fix up a comment | Brian Paul | 2010-09-03 | 1 | -1/+2 |
| | |||||
* | st/glx: added some comments | Brian Paul | 2010-09-03 | 1 | -0/+8 |
| | |||||
* | nvfx: implement LIT in fp | Luca Barbieri | 2010-09-03 | 2 | -1/+24 |
| | |||||
* | glsl2: Use as_constant some places instead of constant_expression_value | Ian Romanick | 2010-09-03 | 2 | -3/+3 |
| | | | | | | | | | | | The places where constant_expression_value are still used in loop analysis are places where a new expression tree is created and constant folding won't have happened. This is used, for example, when we try to determine the maximal loop iteration count. Based on review comments by Eric. "...rely on constant folding to have done its job, instead of going all through the subtree again when it wasn't a constant." | ||||
* | glsl2: Allow copy / constant propagation into array indices | Ian Romanick | 2010-09-03 | 2 | -32/+12 |
| | |||||
* | glsl2: Add module to perform simple loop unrolling | Ian Romanick | 2010-09-03 | 7 | -3/+123 |
| | |||||
* | glsl2: Track the number of ir_loop_jump instructions that are in a loop | Ian Romanick | 2010-09-03 | 3 | -0/+27 |
| | |||||
* | ir_expression: Add static operator_string method | Ian Romanick | 2010-09-03 | 2 | -3/+13 |
| | | | | | I've used this in quite a few debug commits that never reached an up-stream tree. | ||||
* | exec_node: Add insert_before that inserts an entire list | Ian Romanick | 2010-09-03 | 1 | -0/+23 |
| | |||||
* | glsl2: Eliminate zero-iteration loops | Ian Romanick | 2010-09-03 | 1 | -1/+7 |
| | |||||
* | glsl2: Perform initial bits of loop analysis during compilation | Ian Romanick | 2010-09-03 | 2 | -0/+10 |
| | |||||
* | glsl2: Add module to suss out loop control variables from loop analysis data | Ian Romanick | 2010-09-03 | 4 | -1/+305 |
| | | | | This is the next step on the road to loop unrolling | ||||
* | glsl2: Add module to analyze variables used in loops | Ian Romanick | 2010-09-03 | 4 | -1/+672 |
| | | | | This is the first step eventually leading to loop unrolling. | ||||
* | ir_to_mesa: Handle loops with loop controls set | Ian Romanick | 2010-09-03 | 1 | -4/+44 |
| | | | | | | The downside of our talloc usage is that we can't really make static (i.e., not created with new) instances of our IR types. This leads to a lot of unnecessary dynamic allocation in this patch. | ||||
* | ir_validate: Validate loop control fields in ir_loop | Ian Romanick | 2010-09-03 | 1 | -0/+35 |
| | |||||
* | glsl2: Add cmp field to ir_loop | Ian Romanick | 2010-09-03 | 3 | -6/+34 |
| | | | | | This reprents the type of comparison between the loop induction variable and the loop termination value. | ||||
* | glsl2: Set a flag when visiting the assignee of an assignment | Ian Romanick | 2010-09-03 | 4 | -0/+24 |
| | |||||
* | exec_list: Add pop_head | Ian Romanick | 2010-09-03 | 1 | -0/+17 |
| | |||||
* | ir_print_visitor: Print empty else blocks more compactly | Ian Romanick | 2010-09-03 | 1 | -9/+13 |
| | |||||
* | nvfx: fix division by zero in vp-ignore-input | Luca Barbieri | 2010-09-03 | 1 | -1/+1 |
| | |||||
* | nvfx: report correct max lodbias | Luca Barbieri | 2010-09-03 | 1 | -1/+1 |
| | | | | Fixes piglit lodbias |