summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* nvc0: shrink CSOs a littleChristoph Bumiller2011-04-104-29/+25
|
* nv50,nvc0: identify some line rasterization stateChristoph Bumiller2011-04-106-6/+21
| | | | Fixes width of non-smooth (aliased) lines on nvc0.
* nvc0: force perspective correction hint to nicestChristoph Bumiller2011-04-102-0/+7
| | | | | | | | | Fixes issues in e.g. nexuiz (desertfactory) or supertuxkart that look like lighting bugs. They're not visible with the software rasterizers because their notion of linear interpolation seems to be different from that of nv50/nvc0.
* nv50,nvc0: don't insert instructions after the block terminatorChristoph Bumiller2011-04-105-7/+25
|
* Revert "r300g: handle DISCARD_WHOLE_RESOURCE for buffers"Marek Olšák2011-04-081-25/+10
| | | | | | | | | | | | | This reverts commit 437c748bf5072d2bded77a00c74c51cdb8b510e5. The commit is wrong for several reasons. One of them is when we grab a new buffer, we should update all the states it is bound in, including all parallel contexts. I don't think this is even doable. The correct solution would be upload data via a temporary buffer and do resource_copy_region to the original one. https://bugs.freedesktop.org/show_bug.cgi?id=36088
* r300g: fix another crash with hyperzMarek Olšák2011-04-082-22/+2
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=36086
* r300g: fix crash when adding a new relocationMarek Olšák2011-04-081-1/+2
| | | | | | | No idea why it's so hard to reproduce. Broken with: c35572352e3e92683988ee8d151b47f4190d62f9 Thanks to Toni Spets for assistance.
* r300g: emit US_FORMAT on R520 onlyMarek Olšák2011-04-082-2/+2
|
* u_vbuf_mgr: fix crash with unsupported vertex format in hw VBOsMarek Olšák2011-04-082-2/+6
|
* r300g: fix crash with hyperzMarek Olšák2011-04-081-6/+4
| | | | r300_update_hyperz_state is no longer required to be called here.
* r300g: Properly take the sampler view's first_level into account when sampling.Henri Verbeet2011-04-081-15/+21
| | | | | Signed-off-by: Brian Paul <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
* llvmpipe: Take the sampler view's first_level into account when sampling.Fabian Bieler2011-04-0814-33/+78
|
* softpipe: Take the sampler view's first_level into account when sampling.Henri Verbeet2011-04-081-16/+16
| | | | Signed-off-by: Brian Paul <[email protected]>
* r300g: do not advertise R16F and RG16F on DRM < 2.8.0Marek Olšák2011-04-081-2/+5
|
* r300g: fix texturing with sizes > 2048 on r500Marek Olšák2011-04-087-8/+52
|
* r300g: add 'radeon: ' prefix to error messages in winsysMarek Olšák2011-04-082-5/+5
|
* r600g: Unreference framebuffer state on context destruction.Henri Verbeet2011-04-071-0/+1
| | | | Signed-off-by: Henri Verbeet <[email protected]>
* r600g: Use symbolic names for NUMBER_TYPE.Henri Verbeet2011-04-072-5/+5
| | | | Signed-off-by: Henri Verbeet <[email protected]>
* docs: replace llvmpipe/README with docs/llvmpipe.htmlBrian Paul2011-04-071-138/+0
|
* llvmpipe: document issue with LLVM 2.8 and earlier with AVXBrian Paul2011-04-071-0/+4
|
* util: add cpu detection for sse 4.2 and avxBrian Paul2011-04-072-0/+6
|
* util: simplify bit shifting in util_cpu_detect()Brian Paul2011-04-071-11/+11
|
* svga: another tweak to adjust_x term (use -0.5)Brian Paul2011-04-071-1/+1
|
* r600g: Fix non-independent blend state.Julian Adams2011-04-062-14/+20
| | | | | | This fixes piglit fbo/fbo-drawbuffers-blend-add. Signed-off-by: Henri Verbeet <[email protected]>
* draw: Fix thinko in debug warnings.José Fonseca2011-04-061-3/+3
|
* trace: Correct/cleanup.José Fonseca2011-04-066-74/+114
| | | | | | | | | Observe the actual type hierarchy and polymorphism of sampler views and surface state. s/texture/resource/ etc.
* Revert "trace: Dump blend state as a binary blob."José Fonseca2011-04-061-1/+37
| | | | | | | This reverts commit dcdf94c87c087186f963b6e201b2989c61a76ef0. No retrace support anymore, so human-legible representation of blend state is much more useful than a blob.
* st/python: Remove bindings, and all its dependencies.José Fonseca2011-04-06100-7329/+8
| | | | | | | | | Because: - bindings are not fully automatic, and they are broken most of the time - unit tests/samples can be written in C on top of graw - tracing/retracing is more useful at API levels with stable ABIs such as GL, producing traces that cover more layers of the driver stack and and can be used for regression testing
* r300g: postpone fragment shader state validation until draw_vboMarek Olšák2011-04-054-22/+52
|
* r300g: fix RG/LATC1_SNORM by doing UNORM->SNORM conversion in the shaderMarek Olšák2011-04-054-30/+63
|
* r300/compiler: implement the CND opcodeMarek Olšák2011-04-051-2/+1
| | | | No one uses it now, but I will need it for a lowering pass.
* nv50: prevent NV_OP_SELECT from having flags_def definedBryan Cain2011-04-041-0/+1
|
* r600g: add some additional ontario pci idsAlex Deucher2011-04-041-0/+2
| | | | Signed-off-by: Alex Deucher <[email protected]>
* r300g: do not wait for a busy BO if neither GPU nor CPU is changing itMarek Olšák2011-04-034-12/+75
| | | | | Improves frame rate in apps with at least one user vertex buffer and a hw index buffer.
* r300g: remove unused RADEON_PB_USAGE_CACHEMarek Olšák2011-04-032-6/+0
|
* r300g: tell the GLSL compiler to lower the continue opcodeMarek Olšák2011-04-031-2/+2
| | | | NOTE: This is a candidate for the stable branches.
* r300g: avoid mapping the same buffer twiceMarek Olšák2011-04-031-0/+5
| | | | Shouldn't happen, but you never know.
* r300g: handle DISCARD_WHOLE_RESOURCE for buffersMarek Olšák2011-04-031-10/+25
|
* r300g: remove the redundant reference counter in radeon_boMarek Olšák2011-04-033-36/+21
| | | | We already have pb_buffer::reference::count.
* tests: Use elts in translate_test.José Fonseca2011-04-011-8/+14
|
* scons: Add aliases for unit tests.José Fonseca2011-04-011-4/+4
|
* translate: Respect translate_buffer::max_index.José Fonseca2011-04-013-2/+28
|
* draw: Prevent out-of-bounds vertex buffer access.José Fonseca2011-04-0111-7/+157
| | | | Based on some code and ideas from Keith Whitwell.
* gallium: set PIPE_CAP_MIXED_COLORBUFFER_FORMATS in some driversMarek Olšák2011-04-018-0/+11
|
* gallium: add a CAP for mixed colorbuffer format supportMarek Olšák2011-04-011-0/+1
| | | | | Some GPUs can't do it (I think most of DX9 ones), so they should have the option not to allow it.
* nv50: fix for GPR allocation granularity being 16 bitChristoph Bumiller2011-03-311-3/+9
|
* nv50: copy regalloc fixes from nvc0Christoph Bumiller2011-03-312-80/+216
| | | | | | | Should fix gnome-shell's fade shader. Unification of the shader backend which is supposed to remove the code duplication is still WIP.
* draw: Revert code reorg in previous change.José Fonseca2011-03-311-4/+4
| | | | | | | | | | Because fetch_count = max_index - min_index + 1 overflows for min_index = 0 and max_index = 0xffffffff. Fixes fdo 35815.
* draw: implement vertex color clamping, and disable SSE and PPC pathsLuca Barbieri2011-03-314-9/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (some little changes by Marek Olšák) Squashed commit of the following: commit 737c0c6b7d591ac0fc969a7590e1691eeef0ce5e Author: Luca Barbieri <[email protected]> Date: Fri Aug 27 02:13:57 2010 +0200 draw: disable SSE and PPC paths (use LLVM instead) These paths don't support vertex clamping, and are anyway obsoleted by LLVM. If you want to re-enable them, add vertex clamping and test that it works with the ARB_color_buffer_float piglit tests. commit fed3486a7ca0683b403913604a26ee49a3ef48c7 Author: Luca Barbieri <[email protected]> Date: Thu Aug 26 18:27:38 2010 +0200 draw_llvm: respect vertex color clamp commit ef0efe9f3d1d0f9b40ebab78940491d2154277a9 Author: Luca Barbieri <[email protected]> Date: Thu Aug 26 18:26:43 2010 +0200 draw: respect vertex clamping in interpreter path
* gallium: list use inline function to avoid macro shot comingJerome Glisse2011-03-301-43/+67
| | | | | | | | | | | | | | | | | | | Macro can lead to hard to debug list bugs. For instance consider the following : LIST_ADD(item, list->prev) 3 instruction of the macro became : (list->prev)->next->prev = item which is equivalent to : list->prev = item Thus list prev field changes and next instruction in the macro (list->prev)->next = item became : item->next = item And you endup with list corruption, other case lead to similar list corruption. Inline function are not affected by this short coming Signed-off-by: Jerome Glisse <[email protected]>