Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: add a new debug option which disables compiler optimizations | Marek Olšák | 2010-09-04 | 4 | -18/+22 |
| | | | | | | | | | | | | Those are: - dead-code elimination - constant folding - peephole (mainly copy propagation) - register allocation There are some bugs which I need to track down. Also fix up the descriptions of all the debug options. | ||||
* | r300/compiler: make optimizations not use 0.5 swizzles in vertex shaders | Marek Olšák | 2010-09-04 | 2 | -0/+2 |
| | |||||
* | r300/compiler: add new compiler parameter max_constants | Marek Olšák | 2010-09-04 | 2 | -0/+2 |
| | |||||
* | 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 | 2 | -0/+2 |
| | |||||
* | 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. | ||||
* | 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. | ||||
* | 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 |
| | |||||
* | 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. | ||||
* | 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. | ||||
* | 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. | ||||
* | 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]> | ||||
* | r600g: fix memory/bo leak | Jerome Glisse | 2010-09-02 | 4 | -2/+21 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: fix thinko in shadow code. | Dave Airlie | 2010-09-02 | 1 | -1/+1 |
| | | | | spotted by taiu on irc | ||||
* | r600g: fix logicop, the 3d ROP is the 2D rop shifted twice. | Dave Airlie | 2010-09-02 | 1 | -1/+1 |
| | |||||
* | r600g: fix depth texture tests | Dave Airlie | 2010-09-02 | 1 | -2/+2 |
| | |||||
* | r600g: add missing vertex fetch formats to the translation table. | Dave Airlie | 2010-09-02 | 2 | -0/+3 |
| | | | | fixes at least 2 more piglits. | ||||
* | r600g: fix binding of same texture to several target slot | Jerome Glisse | 2010-09-01 | 2 | -23/+62 |
| | | | | | | | | | One can bind same texture or sampler to different slot, each slot needs it own state. The solution implemented here is not exactly beautifull or optimal need to think to somethings better. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: fix incorrect state naming in pipe_sampler vs pipe_sampler_view | Dave Airlie | 2010-09-02 | 1 | -1/+1 |
| | | | | fixes problems in valgrind with uninitialised values. | ||||
* | r600g: silence compiler warning | Jerome Glisse | 2010-09-01 | 1 | -1/+1 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: refix db/cb state | Jerome Glisse | 2010-09-01 | 6 | -32/+119 |
| | | | | | Signed-off-by: Dave Airlie <[email protected]> Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: fix up default state differences between r6xx and r7xx | Alex Deucher | 2010-09-01 | 1 | -6/+16 |
| | | | | Signed-off-by: Alex Deucher <[email protected]> | ||||
* | st/glx: re-order destruction of buffers, visuals | Brian Paul | 2010-09-01 | 1 | -1/+1 |
| | | | | | Free the buffers before the visuals. Fixes valgrind warning reported in fd.o bug 29919. | ||||
* | r600g: avoid dynamic allocation of states | Jerome Glisse | 2010-09-01 | 17 | -1237/+523 |
| | | | | | | | | | | | Make state statically allocated, this kills a bunch of code and avoid intensive use of malloc/free. There is still a lot of useless duplicate function wrapping that can be kill. This doesn't improve yet performance, needs to avoid memcpy states in radeon_ctx_set_draw and to avoid rebuilding vs_resources, dsa, scissor, cb_cntl, ... states at each draw command. Signed-off-by: Jerome Glisse <[email protected]> |