Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-09-05 | llvmpipe: Fix perspective divide interpolation. | José Fonseca | |
Intuition != mathematics, so this time I actually worked out the right formula for first order approximation of perspective interpolation. Ironically, per quad divide actually makes things slower when compared with per pixel divide -- probably because the divide hardware unit is rarely used, whereas the multiply unit is typically already saturated and the first order approximation imply more multiplications. | |||
2010-09-05 | llvmpipe: Relax the colormask constraint on opaque. | José Fonseca | |
Also, include the color buffer in the key. Not having it there causes a tight knots in the logic to determine when it is OK or not to discard previous color buffer contents. | |||
2010-09-05 | gallivm: Pass condition masks as an unsigned bitmask. | José Fonseca | |
Much more convenient than boolean arrays. | |||
2010-09-05 | r300g,r300c: memset the compiler struct to zeros | Marek Olšák | |
This should fix bogus reports "Too many temporaries." and maybe some others. | |||
2010-09-05 | nvfx: support unlimited constants and immediates in fp | Luca Barbieri | |
2010-09-05 | nvfx: support using blitter to copy depth/stencil resources, fix Heaven | Luca Barbieri | |
We might want to copy them as color ones though. Also works around crash in Unigine Heaven due to failing to allocate a 64 MB temporary in GART for a CPU copy. Unigine Heaven now works on nv40, albeit with very heavy glitches (with the floating branch with render_hdr 0). | |||
2010-09-04 | nvfx: support rendering to more formats | Luca Barbieri | |
2010-09-04 | nvfx: move 2D format selection logic to 2D code | Luca Barbieri | |
2010-09-04 | nvfx: fix swizzling of high bpp surfaces | Luca Barbieri | |
2010-09-04 | nvfx: fix some subrectangle copies | Luca Barbieri | |
Actually, we may want to get rid of the x/y coordinates for linear surfaces, and realign the origin from scratch if necessary, instead of doing this "on-demand realignment". | |||
2010-09-04 | nvfx: fix inlinining in nv04_2d.c | Luca Barbieri | |
2010-09-04 | nvfx: fix the temporary copying logic and add asserts | Luca Barbieri | |
2010-09-04 | nvfx: prevent swizzled rendering into formats where it's not supported | Luca Barbieri | |
2010-09-04 | Revert "r300g: refuse to create a texture with size 0" | Marek Olšák | |
This reverts commit 5cdedaaf295acae13ac10feeb3143d83bc53d314. https://bugs.freedesktop.org/show_bug.cgi?id=30002 Conflicts: src/gallium/drivers/r300/r300_texture.c | |||
2010-09-04 | r300g: remove unnecessary assignments | Marek Olšák | |
2010-09-04 | r300g: skip draw calls with no vertex elements, fixing hardlocks | Marek Olšák | |
2010-09-04 | r300g: add a new debug option which disables compiler optimizations | Marek Olšák | |
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. | |||
2010-09-04 | r300/compiler: make optimizations not use 0.5 swizzles in vertex shaders | Marek Olšák | |
2010-09-04 | r300/compiler: add new compiler parameter max_constants | Marek Olšák | |
2010-09-04 | r300g: only check for an empty shader if there are no compile errors | Marek Olšák | |
2010-09-04 | r300/compiler: add new compiler parameter max_alu_insts | Marek Olšák | |
2010-09-04 | nvfx: consolidate tiny files | Luca Barbieri | |
We probably want to reorganize the remaining files too, but that's for later, maybe. | |||
2010-09-04 | nvfx: fix vp DP2 | Luca Barbieri | |
2010-09-04 | nvfx: implement fp SSG properly | Luca Barbieri | |
2010-09-04 | nvfx: don't claim we support preds since the driver doesn't | Luca Barbieri | |
2010-09-04 | nv40: support all 10 texcoords | Luca Barbieri | |
2010-09-04 | nvfx: add missing context init | Luca Barbieri | |
2010-09-04 | nvfx: tidy up state_emit | Luca Barbieri | |
2010-09-04 | nvfx: support all coord conventions in hardware | Luca Barbieri | |
2010-09-04 | nvfx: add missing pushbuffer space check | Luca Barbieri | |
2010-09-04 | nvfx: support all possible vs consts | Luca 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-04 | nvfx: set magic bit to round NPOT mipmap sizes down and not up | Luca Barbieri | |
Does any API even use rounding-up? | |||
2010-09-04 | nvfx: allow nested blitter usage, fixing bug in clear | Luca Barbieri | |
2010-09-03 | galahad: do map/unmap counting for resources | Brian Paul | |
2010-09-03 | nvfx: implement LIT in fp | Luca Barbieri | |
2010-09-03 | nvfx: fix division by zero in vp-ignore-input | Luca Barbieri | |
2010-09-03 | nvfx: report correct max lodbias | Luca Barbieri | |
Fixes piglit lodbias | |||
2010-09-03 | nvfx: remove message | Luca Barbieri | |
2010-09-03 | nvfx: support indirect addressing in vps | Luca Barbieri | |
Negative or huge offsets not yet supported. | |||
2010-09-03 | nvfx: fix support for more than 8 texture units (fixes etqw crash) | Luca Barbieri | |
2010-09-03 | r600g: fix segfault in state after rework | Dave Airlie | |
probably can improve this a bit. | |||
2010-09-03 | r600g: 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-03 | r600g: reduce size of r600 context structure to !insane | Dave Airlie | |
Its now about 7.8k, and might actually fit in a cache. | |||
2010-09-03 | r600g: 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-03 | r600g: deref old driver states for set entry points. | Dave Airlie | |
2010-09-03 | r600g: 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-03 | r600g: kill r600_context_state function | Dave 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-03 | r600g: move lots of state inline helpers to separate header. | Dave Airlie | |
this gets them out of sight of the main codeflow. | |||
2010-09-03 | r600g: drop magic numbers in depth state. | Dave Airlie | |
this also fixes occulsion queries. | |||
2010-09-02 | r600g: force unbind of previously bind sampler/sampler_view | Jerome 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> |