Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nvfx: Add missing header. | Vinson Lee | 2010-04-25 | 1 | -0/+1 |
| | |||||
* | nvfx: Add to SCons build. | Vinson Lee | 2010-04-24 | 1 | -0/+36 |
| | |||||
* | gallium: replace pipe_resource::_usage with pipe_resource::usage | Brian Paul | 2010-04-20 | 4 | -7/+7 |
| | |||||
* | nvfx: Fix typo. | José Fonseca | 2010-04-20 | 1 | -1/+1 |
| | |||||
* | Merge branch 'gallium-index-bias' | José Fonseca | 2010-04-20 | 3 | -16/+24 |
|\ | |||||
| * | nvfx: Adapt for index bias interface change. | José Fonseca | 2010-04-19 | 3 | -16/+24 |
| | | |||||
* | | Merge branch '7.8' | Brian Paul | 2010-04-19 | 2 | -2/+3 |
| | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/drivers/llvmpipe/lp_context.c | ||||
* | | nvfx: Fix include recursion. | Vinson Lee | 2010-04-18 | 1 | -1/+2 |
| | | | | | | | | | | Don't include nvfx_context.h and use a forward reference instead. nvfx_context.h includes nvfx_screen.h (itself). | ||||
* | | nvfx: Add missing header and forward declaration. | Vinson Lee | 2010-04-18 | 1 | -0/+4 |
| | | |||||
* | | nvfx: move declarations before code | Brian Paul | 2010-04-18 | 1 | -11/+12 |
| | | |||||
* | | nvfx: fix void * arithmetic warning | Brian Paul | 2010-04-18 | 1 | -1/+1 |
| | | |||||
* | | nvfx: move declarations before code | Brian Paul | 2010-04-18 | 1 | -4/+9 |
| | | |||||
* | | nvfx: move declarations before code to silence warnings | Brian Paul | 2010-04-18 | 3 | -6/+11 |
| | | |||||
* | | nvfx: fix fragment program constant updates | Luca Barbieri | 2010-04-18 | 1 | -1/+4 |
|/ | |||||
* | nvfx: Initialize variables. | Vinson Lee | 2010-04-17 | 2 | -4/+4 |
| | |||||
* | nvfx: Remove unused variables. | Vinson Lee | 2010-04-17 | 2 | -3/+0 |
| | |||||
* | nvfx: Remove unnecessary headers. | Vinson Lee | 2010-04-17 | 4 | -6/+0 |
| | |||||
* | nvfx: dont swizzle stuff into GART | Xavier Chantry | 2010-04-15 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | swzsurf doesn't support GART Thanks to Marcin Kościelnicki <[email protected]> for spotting that ! This fixes corruption in etracer and the following related errors : [14381.551927] [drm] nouveau 0000:01:00.0: PGRAPH_ERROR - nSource: PROTECTION_ERROR, nStatus: INVALID_STATE [14381.551945] [drm] nouveau 0000:01:00.0: PGRAPH_ERROR - Ch 2/2 Class 0x039e Mthd 0x0184 Data 0x00001cd9:0x00001cd9 Signed-off-by: Xavier Chantry <[email protected]> Adapted by Luca Barbieri for mesa master. | ||||
* | nouveau: replace vtxbuf/idxbuf caps with BO_ flags in nouveau_screen and fix ↵ | Luca Barbieri | 2010-04-15 | 3 | -17/+28 |
| | | | | | | | | | | | | uncached reads on nv3x Faster, simpler and more flexible. Also, we set those flags properly on nv3x so that we don't allocate buffers in GART. Since on AGP GART is uncached, OpenGL doesn't distinguish between vertex and index buffers, and we don't support hardware index buffers for now, this caused uncached reads. Also check bind and not usage for PIPE_BIND_* flags, got broken in the gallium-resources transition. | ||||
* | nvfx: use dynamically sized rotating BO pool for fragment programs | Luca Barbieri | 2010-04-13 | 2 | -110/+137 |
| | | | | | | | | | | | | | | | Currently we used a single buffer for each fragment programs, leading to rendering synchronization. This patch uses a doubly linked list of BOs, which is dynamically resized if all the BOs are busy. Note that inline image transfers could be an alternative option: this will be explored later. This removes one of the big performance limitations of the current driver. We also stop using pipe_resource internally in favor of using nouveau_bo directly. | ||||
* | nvfx: fix for 64-bit systems | Luca Barbieri | 2010-04-13 | 1 | -1/+1 |
| | | | | Thanks to Patrice Mandin for debugging this. | ||||
* | nvfx: add LRP in vertprog | Luca Barbieri | 2010-04-12 | 1 | -0/+5 |
| | | | | glsl generates these. | ||||
* | nvfx: add SIN and COS in vertprog | Luca Barbieri | 2010-04-12 | 1 | -0/+6 |
| | |||||
* | nvfx: add missing vertprog setcond instructions | Luca Barbieri | 2010-04-12 | 1 | -0/+18 |
| | | | | Trivially adds SEQ, SGT, SLE, SNE, SFL, STR and SSG which were missing. | ||||
* | nvfx: allocate a bigger block for queries | Luca Barbieri | 2010-04-12 | 2 | -4/+11 |
| | | | | | This patch allocates a bigger chunk of memory to store queries in, increasing the (hidden) outstanding query limit. | ||||
* | nvfx: support an unlimited number of occlusion queries | Luca Barbieri | 2010-04-12 | 3 | -8/+22 |
| | | | | | | | | | | | | | | Currently on nv30/nv40 an assert will be triggered once 32 queries are outstanding. This violates the OpenGL/Gallium interface, which requires support for an unlimited number of fences. This patch fixes the problem by putting queries in a linked list and waiting on the oldest one if allocation fails. nVidia seems to use a similar strategy, but with 1024 instead of 32 fences. The next patch will improve this. | ||||
* | nvfx: fix TXL opcode value | Luca Barbieri | 2010-04-12 | 1 | -1/+1 |
| | | | | Was broken during unification | ||||
* | nvfx: Add support for two sided color | Luca Barbieri | 2010-04-12 | 2 | -2/+4 |
| | | | | | | | This patch adds support for two-sided vertex color to nv30/nv40. When set, the COLOR0/1 fs inputs on back faces will be wired to vs outputs BCOLOR0/1. This makes OpenGL two sided lighting work, which can be tested with progs/demos/projtex. | ||||
* | nvfx: fix compile error | Luca Barbieri | 2010-04-12 | 1 | -1/+1 |
| | |||||
* | nvfx: don't use hw index buffers on nv3x and nv44 | Luca Barbieri | 2010-04-12 | 2 | -2/+3 |
| | | | | | | | They only apparently work on nv40 grclass cards, and this was the previous behavior of the driver. This really needs to be investigated more. | ||||
* | nvfx: expose PIPE_FORMAT_B8G8R8X8_UNORM support | Luca Barbieri | 2010-04-12 | 1 | -0/+2 |
| | | | | | | | | This is implemented in nvfx_state_fb and fragtex but was missing in nvfx_screen. This allows to avoid glCopyTexSubImage CPU fallbacks and makes Doom 3 much faster as a result. | ||||
* | nvfx: add support for ARB_half_float_vertex | Luca Barbieri | 2010-04-12 | 1 | -0/+10 |
| | |||||
* | nvfx: allocate buffers in GART if !NOUVEAU_SWTNL | Luca Barbieri | 2010-04-12 | 1 | -2/+1 |
| | | | | Should improve performance and fix serious regressions on AGP cards. | ||||
* | nvfx: move check for NOUVEAU_SWTNL | Luca Barbieri | 2010-04-12 | 3 | -11/+5 |
| | |||||
* | nvfx: remove #include "nouveau_stateobj.h" | Luca Barbieri | 2010-04-12 | 1 | -1/+0 |
| | | | | No longer used, finally! | ||||
* | nvfx: rework validation logic to use code and avoid stateobjs | Luca Barbieri | 2010-04-12 | 18 | -285/+127 |
| | | | | | This makes the code faster due to the lack of indirect calls and also makes it much easier to understand what is actually going on. | ||||
* | nvfx: add NVFX_NEW_{FRAG,VERT}CONST | Luca Barbieri | 2010-04-12 | 4 | -4/+6 |
| | |||||
* | nvfx: so->RING_3D: vertprog | Luca Barbieri | 2010-04-12 | 2 | -27/+19 |
| | | | | | We could use an sb here instead, but there is no obvious performance advantage, and perhaps there could be a disadvantage. | ||||
* | nvfx: so->RING_3D: sr | Luca Barbieri | 2010-04-12 | 1 | -9/+6 |
| | |||||
* | nvfx: so->sb: blend | Luca Barbieri | 2010-04-12 | 3 | -27/+25 |
| | |||||
* | nvfx: so->sb: zsa | Luca Barbieri | 2010-04-12 | 3 | -40/+36 |
| | |||||
* | nvfx: so->sb: rasterizer | Luca Barbieri | 2010-04-12 | 3 | -52/+48 |
| | |||||
* | nvfx: so->RING_3D: screen | Luca Barbieri | 2010-04-12 | 1 | -93/+89 |
| | |||||
* | nvfx: so->RING_3D: viewport | Luca Barbieri | 2010-04-12 | 1 | -29/+25 |
| | |||||
* | nvfx: so->RING_3D: stipple | Luca Barbieri | 2010-04-12 | 2 | -15/+11 |
| | |||||
* | nvfx: so->RING_3D: scissor | Luca Barbieri | 2010-04-12 | 2 | -13/+10 |
| | |||||
* | nvfx: so->RING_3D: blend | Luca Barbieri | 2010-04-12 | 1 | -7/+4 |
| | |||||
* | nvfx: so->RING_3D: fb | Luca Barbieri | 2010-04-12 | 3 | -77/+117 |
| | |||||
* | nvfx: so->RING_3D: fragprog | Luca Barbieri | 2010-04-12 | 4 | -34/+49 |
| | |||||
* | nvfx: so->RING_3D: fragtex | Luca Barbieri | 2010-04-12 | 5 | -72/+83 |
| |