summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-04r300/compiler: refactor vertex shader compilationMarek Olšák
First list compiler passes in an array, then run the new function rc_run_compiler. Every backend may need a different set of passes. This cleans up the mess in r3xx_compile_vertex_program.
2010-09-04r300/compiler: remove a redundant parameter in rc_pair_regallocMarek Olšák
2010-09-04r300/compiler: remove a redundant parameter in rc_dataflow_deadcodeMarek Olšák
&c->Base == c.
2010-09-04r300/compiler: use null-terminated array of transformation functionsMarek Olšák
I need to reduce the number of parameters of each compiler pass function. This is part of a larger cleanup.
2010-09-04r300g: only check for an empty shader if there are no compile errorsMarek Olšák
2010-09-04r300/compiler: add new compiler parameter max_alu_instsMarek Olšák
2010-09-04r300/compiler: put emulate_loop_state in radeon_compilerMarek Olšák
2010-09-04ir_reader: Run ir_validate on the generated IR.Kenneth Graunke
It's just too easy to get something wrong in hand-written IR.
2010-09-04ir_reader: Emit global variables at the top of the instruction list.Kenneth Graunke
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).
2010-09-04ir_reader: Drop support for reading the old assignment format.Kenneth Graunke
2010-09-04glsl: Regenerate autogenerated file builtin_function.cpp.Kenneth Graunke
2010-09-04glsl/builtins: Convert assignments to new format (with write mask).Kenneth Graunke
2010-09-04ir_reader: Read the new assignment format (with write mask).Kenneth Graunke
This preserves the ability to read the old format, for momentary compatibility with all the existing IR implementations of built-ins.
2010-09-04ir_reader: Track the current function and report it in error messages.Kenneth Graunke
2010-09-04glsl/builtins: Actually print the info log if reading a builtin failed.Kenneth Graunke
2010-09-04nvfx: consolidate tiny filesLuca Barbieri
We probably want to reorganize the remaining files too, but that's for later, maybe.
2010-09-04mesa/st: add missing _mesa_set_fetch_functions in st_get_tex_imageLuca Barbieri
Fixes piglit fdo25614-genmipmap.
2010-09-04nvfx: fix vp DP2Luca Barbieri
2010-09-04nvfx: implement fp SSG properlyLuca Barbieri
2010-09-04nvfx: don't claim we support preds since the driver doesn'tLuca Barbieri
2010-09-04nv40: support all 10 texcoordsLuca Barbieri
2010-09-04nvfx: add missing context initLuca Barbieri
2010-09-04nvfx: tidy up state_emitLuca Barbieri
2010-09-04nvfx: support all coord conventions in hardwareLuca Barbieri
2010-09-04nvfx: add missing pushbuffer space checkLuca Barbieri
2010-09-04nvfx: support all possible vs constsLuca Barbieri
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.
2010-09-04nvfx: set magic bit to round NPOT mipmap sizes down and not upLuca Barbieri
Does any API even use rounding-up?
2010-09-04nvfx: allow nested blitter usage, fixing bug in clearLuca Barbieri
2010-09-03galahad: do map/unmap counting for resourcesBrian Paul
2010-09-03libgl-xlib: enable galahad supportBrian Paul
If the GALLIUM_GALAHAD env var is 1 we'll wrap the regular driver with the galahad validation driver.
2010-09-03scons: added galahad to driver listBrian Paul
2010-09-03mesa: also build galahad driverBrian Paul
2010-09-03exec_list: replace class with structBrian Paul
To match the definition below.
2010-09-03mesa: fix up a commentBrian Paul
2010-09-03st/glx: added some commentsBrian Paul
2010-09-03nvfx: implement LIT in fpLuca Barbieri
2010-09-03glsl2: Use as_constant some places instead of constant_expression_valueIan Romanick
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."
2010-09-03glsl2: Allow copy / constant propagation into array indicesIan Romanick
2010-09-03glsl2: Add module to perform simple loop unrollingIan Romanick
2010-09-03glsl2: Track the number of ir_loop_jump instructions that are in a loopIan Romanick
2010-09-03ir_expression: Add static operator_string methodIan Romanick
I've used this in quite a few debug commits that never reached an up-stream tree.
2010-09-03exec_node: Add insert_before that inserts an entire listIan Romanick
2010-09-03glsl2: Eliminate zero-iteration loopsIan Romanick
2010-09-03glsl2: Perform initial bits of loop analysis during compilationIan Romanick
2010-09-03glsl2: Add module to suss out loop control variables from loop analysis dataIan Romanick
This is the next step on the road to loop unrolling
2010-09-03glsl2: Add module to analyze variables used in loopsIan Romanick
This is the first step eventually leading to loop unrolling.
2010-09-03ir_to_mesa: Handle loops with loop controls setIan Romanick
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.
2010-09-03ir_validate: Validate loop control fields in ir_loopIan Romanick
2010-09-03glsl2: Add cmp field to ir_loopIan Romanick
This reprents the type of comparison between the loop induction variable and the loop termination value.
2010-09-03glsl2: Set a flag when visiting the assignee of an assignmentIan Romanick