summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* nouveau: replace vtxbuf/idxbuf caps with BO_ flags in nouveau_screen and fix ↵Luca Barbieri2010-04-157-32/+39
| | | | | | | | | | | | 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.
* i915g: Remove unnecessary header.Vinson Lee2010-04-141-1/+0
|
* r300g: fix regression in texdepth.Dave Airlie2010-04-151-5/+7
| | | | | | | | | texdepth stopped working when npot went in, this brings it back to life. < MostAwesomeDude> That looks like what I was going to do. Signed-off-by: Dave Airlie <[email protected]>
* gallium/tests: Add test case for pipe_barrier.Vinson Lee2010-04-143-0/+88
|
* swrastg: Fix defines to be able to load more then one sw driverJakob Bornecrantz2010-04-141-6/+6
|
* llvmpipe: comments for fence functionsBrian Paul2010-04-141-0/+26
|
* r300g: fix possible crash when shader compilation failsMarek Olšák2010-04-142-0/+6
| | | | This hopefully fixes the crash in the FDO bug #27634, not the bug itself.
* r300g: simplify get_shader_constant to be rc-constant-state specificMarek Olšák2010-04-141-47/+34
|
* progs/gallium: Fix relative path in Makefile.Vinson Lee2010-04-142-2/+2
|
* u_blitter: Coords are normalized.Corbin Simpson2010-04-131-0/+1
| | | | Thanks to Luca Barbieri for spotting this one.
* r300g: remove the CS compenstation for non-atomized statesMarek Olšák2010-04-141-3/+0
| | | | | Now there aren't any. If CS overflow occurs, the fix should go directly before the problematic BEGIN_CS.
* r300g: remove always_dirty flag and correct leftoversMarek Olšák2010-04-142-7/+5
|
* r300g: atomize beginning occlusion queryMarek Olšák2010-04-147-17/+8
|
* r300g: atomize VS constant bufferMarek Olšák2010-04-147-25/+30
|
* r300g: emit VS immediates along with VS codeMarek Olšák2010-04-144-7/+37
|
* r300g: make setting up fragment depth output less hackishMarek Olšák2010-04-143-16/+18
|
* r300g: kill off r300_fragment_shader::shadow_samplers and friendsMarek Olšák2010-04-142-9/+0
|
* retrace: Update for recent interface changes.José Fonseca2010-04-141-23/+24
|
* trace: Ignore transfer_flush_region too.José Fonseca2010-04-141-7/+0
|
* i915g: Fix winsys SCons build.Vinson Lee2010-04-131-0/+2
|
* i915g: Whitespace & formatingJakob Bornecrantz2010-04-132-15/+11
|
* i915g: Mark shared layouts more clearlyJakob Bornecrantz2010-04-131-9/+15
|
* Merge branch '7.8'Jesse Barnes2010-04-131-1/+1
|\
| * i915g: Fix assert.Vinson Lee2010-04-111-1/+1
| |
* | llvmpipe: disable half float formatsAlan Hourihane2010-04-131-0/+5
| |
* | gallium: Remove pipe_screen::update_buffer.Chia-I Wu2010-04-132-12/+0
| | | | | | | | | | It has no user after the removal of st_public. Plus, it has never been implemented by a pipe driver or winsys.
* | gallium: disable tests when using embedded buildAlan Hourihane2010-04-131-2/+3
| |
* | util: Fix util_dynarray_trim().Michal Krol2010-04-131-9/+10
| |
* | nvfx: use dynamically sized rotating BO pool for fragment programsLuca Barbieri2010-04-132-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.
* | draw llvm: Initialize variable.Vinson Lee2010-04-131-1/+1
| |
* | r300g: Silence uninitialized variable warning.Vinson Lee2010-04-131-0/+1
| |
* | st/vega: Drop st_public support.Chia-I Wu2010-04-134-610/+0
| | | | | | | | There is no user of st_public now.
* | st/vega: Do not rely on st_resize_framebuffer.Chia-I Wu2010-04-131-24/+239
| | | | | | | | | | | | Add vg_context_update_draw_buffer (and helpers) that duplicates the logic of st_resize_framebuffer. Use the new function instead of st_resize_framebuffer in vg_manager.c.
* | nvfx: fix for 64-bit systemsLuca Barbieri2010-04-131-1/+1
| | | | | | | | Thanks to Patrice Mandin for debugging this.
* | gallium/auxiliary: make util_dynarray_trim do nothing if size == capacityLuca Barbieri2010-04-131-1/+3
| |
* | gallium/auxiliary: add util_dynarray_resizeLuca Barbieri2010-04-131-2/+8
| |
* | gallium/auxiliary: fix util_dynarray_trim to 0 to free the dataLuca Barbieri2010-04-131-2/+8
| | | | | | | | | | This works better and preserves the data != 0 if and only if capacity != 0 invariant.
* | util: implement Jose Fonseca's suggestions for u_buffer.h -> u_dynarray.hLuca Barbieri2010-04-132-57/+96
| | | | | | | | Also describe invariants explicitly and use char* for arithmetic.
* | ffvertex: don't touch tex coords if coord replace is enabled.Dave Airlie2010-04-131-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The fixed function vertex program shouldn't need to deal or touch tex coords if stuffing is enabled. Though I'm not 100% this won't break assumption made elsewhere it seems like the correct thing to do, and makes r300g point sprites a lot easier to implement. draw: fix point-sprite when vertex program is used. This commit regressed draw, so fix it as well to help bisection. Signed-off-by: Dave Airlie <[email protected]>
* | r300g: add generating texture coordinates for point spritesMarek Olšák2010-04-135-21/+85
| | | | | | | | | | | | | | | | | | | | | | | | [airlied - Convert sprite coord index to a per-coord enable bit set the rasteriser block up correctly for point sprites. The inputs to the RS hw block change for sprite coords, so fix them up properly - this fixes piglit point-sprite test. ] Signed-off-by: Dave Airlie <[email protected]>
* | progs/gallium: Move into src/gallium/testsJosé Fonseca2010-04-1388-0/+6713
| | | | | | | | | | | | | | Two reasons: - progs will eventually have its own repository - it is just to easy to forget updating the code for interface changes when it is outside of src
* | gallium/auxiliary: add dynamically sized buffer/array/vectorLuca Barbieri2010-04-121-0/+57
| |
* | nvfx: add LRP in vertprogLuca Barbieri2010-04-121-0/+5
| | | | | | | | glsl generates these.
* | nvfx: add SIN and COS in vertprogLuca Barbieri2010-04-121-0/+6
| |
* | nvfx: add missing vertprog setcond instructionsLuca Barbieri2010-04-121-0/+18
| | | | | | | | Trivially adds SEQ, SGT, SLE, SNE, SFL, STR and SSG which were missing.
* | nvfx: allocate a bigger block for queriesLuca Barbieri2010-04-122-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 queriesLuca Barbieri2010-04-123-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.
* | r300g: Move declaration before code.Vinson Lee2010-04-121-2/+4
| | | | | | | | Fixes SCons build.
* | nvfx: fix TXL opcode valueLuca Barbieri2010-04-121-1/+1
| | | | | | | | Was broken during unification
* | nvfx: Add support for two sided colorLuca Barbieri2010-04-122-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.