summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2010-09-03exec_list: Add pop_headIan Romanick
2010-09-03ir_print_visitor: Print empty else blocks more compactlyIan Romanick
2010-09-03nvfx: fix division by zero in vp-ignore-inputLuca Barbieri
2010-09-03nvfx: report correct max lodbiasLuca Barbieri
Fixes piglit lodbias
2010-09-03nvfx: remove messageLuca Barbieri
2010-09-03nvfx: support indirect addressing in vpsLuca Barbieri
Negative or huge offsets not yet supported.
2010-09-03r600c: add proper returns for some evergreen functionsAlex Deucher
these weren't checked anyway. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29999
2010-09-03nvfx: fix support for more than 8 texture units (fixes etqw crash)Luca Barbieri
2010-09-03r600g: fix segfault in state after reworkDave Airlie
probably can improve this a bit.
2010-09-03r600c: emit DB_HTILE_DATA_BASE on evergreenAlex Deucher
Make the hw happy.
2010-09-03r600g: refactor sample states into a reusable struct.Dave Airlie
I will not cut-n-paste. I will not cut-n-paste. I will not cut-n-paste.
2010-09-03r600g: reduce size of r600 context structure to !insaneDave Airlie
Its now about 7.8k, and might actually fit in a cache.
2010-09-03r600g: add texture border state.Dave Airlie
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.
2010-09-03r600g: deref old driver states for set entry points.Dave Airlie
2010-09-03r600g: drop r600_bind_state.Dave Airlie
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.
2010-09-03r600g: kill r600_context_state functionDave Airlie
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.
2010-09-03r600g: move lots of state inline helpers to separate header.Dave Airlie
this gets them out of sight of the main codeflow.
2010-09-02draw: Include missing headers in draw_vs_aos.h.Vinson Lee
Include tgsi_exec.h for TGSI_EXEC_NUM_TEMPS. Include draw_vs.h for draw_vs_varient.
2010-09-03r600g: drop magic numbers in depth state.Dave Airlie
this also fixes occulsion queries.
2010-09-02util: Include missing header in u_linear.h.Vinson Lee
Include p_compiler.h for size_t and boolean symbols.
2010-09-02mesa: Fix printf-like warning.Vinson Lee
2010-09-02mesa: Fix printf-like warnings.Vinson Lee
2010-09-02r600g: force unbind of previously bind sampler/sampler_viewJerome Glisse
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 <jglisse@redhat.com>
2010-09-02st/mesa: clamp gl_constants::MaxVarying against MAX_VARYINGBrian Paul
Don't try to use more generic varying vars than core Mesa supports. Fixes fd.o bug 29959.
2010-09-02glsl2: Update TODO fileIan Romanick
2010-09-02r600g: fix memory/bo leakJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-02mesa: fix code generation for ir_unop_sqrtBrian Paul
The CMP instruction needed to be flipped to properly handle operand==0. Fixes fd.o bug 29923.
2010-09-02mesa: fix some printf warnings with castsBrian Paul
2010-09-02r600g: fix thinko in shadow code.Dave Airlie
spotted by taiu on irc
2010-09-02r600g: fix logicop, the 3d ROP is the 2D rop shifted twice.Dave Airlie
2010-09-02r600g: fix depth texture testsDave Airlie
2010-09-01glsl: Apply implicit conversions to structure constructor parameters.Kenneth Graunke
The code for handling implicit conversions should probably get refactored, but for now, this is easy. Fixes piglit test constructor-26.vert.