Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | 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 | ||||
* | nvfx: remove message | Luca Barbieri | 2010-09-03 | 1 | -13/+0 |
| | |||||
* | nvfx: support indirect addressing in vps | Luca Barbieri | 2010-09-03 | 4 | -27/+96 |
| | | | | Negative or huge offsets not yet supported. | ||||
* | r600c: add proper returns for some evergreen functions | Alex Deucher | 2010-09-03 | 2 | -2/+8 |
| | | | | | | | these weren't checked anyway. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29999 | ||||
* | nvfx: fix support for more than 8 texture units (fixes etqw crash) | Luca Barbieri | 2010-09-03 | 2 | -4/+3 |
| | |||||
* | r600g: fix segfault in state after rework | Dave Airlie | 2010-09-03 | 1 | -2/+2 |
| | | | | probably can improve this a bit. | ||||
* | r600c: emit DB_HTILE_DATA_BASE on evergreen | Alex Deucher | 2010-09-03 | 1 | -4/+11 |
| | | | | Make the hw happy. | ||||
* | r600g: refactor sample states into a reusable struct. | Dave Airlie | 2010-09-03 | 2 | -97/+78 |
| | | | | | | I will not cut-n-paste. I will not cut-n-paste. I will not cut-n-paste. | ||||
* | r600g: reduce size of r600 context structure to !insane | Dave Airlie | 2010-09-03 | 2 | -3/+29 |
| | | | | Its now about 7.8k, and might actually fit in a cache. | ||||
* | r600g: add texture border state. | Dave Airlie | 2010-09-03 | 2 | -2/+42 |
| | | | | | | | Okay I finally wrapped my head around what r600_context_state is meant to be, maybe I should just rename all the structs so that have distinct names. I've no idea however why 16 is a good magic number for R600_MAX_RSTATE. | ||||
* | r600g: deref old driver states for set entry points. | Dave Airlie | 2010-09-03 | 1 | -0/+10 |
| | |||||
* | r600g: drop r600_bind_state. | Dave Airlie | 2010-09-03 | 1 | -75/+34 |
| | | | | | | | This was another ugly function that really wasn't needed. The 3 calls to it from the gallium api were shorter than it, and all the calls from the set_ functions were pointless. | ||||
* | r600g: kill r600_context_state function | Dave Airlie | 2010-09-03 | 2 | -96/+63 |
| | | | | | | having some sort of locality of code really matters, just create and setup state at time. Not sure if this is just further polishing of a bad thing, but at least it makes it more readable. | ||||
* | r600g: move lots of state inline helpers to separate header. | Dave Airlie | 2010-09-03 | 2 | -117/+120 |
| | | | | this gets them out of sight of the main codeflow. | ||||
* | draw: Include missing headers in draw_vs_aos.h. | Vinson Lee | 2010-09-02 | 1 | -0/+2 |
| | | | | | Include tgsi_exec.h for TGSI_EXEC_NUM_TEMPS. Include draw_vs.h for draw_vs_varient. | ||||
* | r600g: drop magic numbers in depth state. | Dave Airlie | 2010-09-03 | 2 | -3/+33 |
| | | | | this also fixes occulsion queries. | ||||
* | util: Include missing header in u_linear.h. | Vinson Lee | 2010-09-02 | 1 | -0/+1 |
| | | | | Include p_compiler.h for size_t and boolean symbols. | ||||
* | mesa: Fix printf-like warning. | Vinson Lee | 2010-09-02 | 2 | -2/+2 |
| | |||||
* | mesa: Fix printf-like warnings. | Vinson Lee | 2010-09-02 | 6 | -16/+16 |
| | |||||
* | r600g: force unbind of previously bind sampler/sampler_view | Jerome Glisse | 2010-09-02 | 2 | -86/+95 |
| | | | | | | | | | | | | | | | | Previously bind sampler/sampler_view can be converted and endup overwritting the current state we want to schedule. Example : bind texA texB to sampler_view[0] & sampler_view[1], render, bind texB to sampler_view[0] render. Now state associated to texB are set to configure sampler_view slot 0, but as we don't unbind sampler_view[1] still point to texB state so we end up with sampler_view[1] overwritting sampler_view[0], which gives wrong rendering if next rendering bind texA to sampler_view[0], it will endup as texB is bound to sampler_view[0]. If you are not confuse at that point give me a call i will be buying you beer. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | st/mesa: clamp gl_constants::MaxVarying against MAX_VARYING | Brian Paul | 2010-09-02 | 1 | -0/+1 |
| | | | | | Don't try to use more generic varying vars than core Mesa supports. Fixes fd.o bug 29959. | ||||
* | glsl2: Update TODO file | Ian Romanick | 2010-09-02 | 1 | -19/+7 |
| |