summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2010-04-16softpipe: formatting fixes and commentsBrian Paul
2010-04-16r300/compiler: fix repeat wrap mode for TXP and NPOTsMarek Olšák
No idea why st/mesa unnecessarily inserts TXP where TEX is sufficient. Also re-enabling the NPOT fallback for repeat in r300g.
2010-04-15i915g: Create a special 2D layout helperJakob Bornecrantz
2010-04-15i915g: Fix 2D layoutsJakob Bornecrantz
This should fix 2D compressed layouts
2010-04-15i915g: Remove unused argsJakob Bornecrantz
2010-04-15r300/compiler: kill off RC_WRAP_CLAMPMarek Olšák
A variant thereof might be later reintroduced for the mirrored-clamp modes.
2010-04-15r300g: mask out the mirrored bit correctly in the registersMarek Olšák
It was previously done wrong + now it shouldn't render garbage, so that the NPOT fallback can get in.
2010-04-15r300g: fix the MIRROR_CLAMP_TO_BORDER wrap modeMarek Olšák
I guess this was a typo.
2010-04-15r300g: add missing r300_state.hMarek Olšák
I am very bad at this.
2010-04-15r300g: disable the REPEAT NPOT fallback until it worksMarek Olšák
It causes regressions. I haven't tested the MIRROR wrap modes, so not sure about that..
2010-04-15r300g: do not use NPOT fallback for CLAMP wrap modesMarek Olšák
These work just fine.
2010-04-15r300g: pick a new fragment shader when either a sampler state or view is changedMarek Olšák
2010-04-15nvfx: dont swizzle stuff into GARTXavier Chantry
swzsurf doesn't support GART Thanks to Marcin Kościelnicki <koriakin@0x04.net> 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 <chantry.xavier@gmail.com> Adapted by Luca Barbieri for mesa master.
2010-04-15nouveau: replace vtxbuf/idxbuf caps with BO_ flags in nouveau_screen and fix ↵Luca Barbieri
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.
2010-04-14i915g: Remove unnecessary header.Vinson Lee
2010-04-15r300g: fix regression in texdepth.Dave Airlie
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 <airlied@redhat.com>
2010-04-14llvmpipe: comments for fence functionsBrian Paul
2010-04-14r300g: fix possible crash when shader compilation failsMarek Olšák
This hopefully fixes the crash in the FDO bug #27634, not the bug itself.
2010-04-14r300g: simplify get_shader_constant to be rc-constant-state specificMarek Olšák
2010-04-14r300g: remove the CS compenstation for non-atomized statesMarek Olšák
Now there aren't any. If CS overflow occurs, the fix should go directly before the problematic BEGIN_CS.
2010-04-14r300g: remove always_dirty flag and correct leftoversMarek Olšák
2010-04-14r300g: atomize beginning occlusion queryMarek Olšák
2010-04-14r300g: atomize VS constant bufferMarek Olšák
2010-04-14r300g: emit VS immediates along with VS codeMarek Olšák
2010-04-14r300g: make setting up fragment depth output less hackishMarek Olšák
2010-04-14r300g: kill off r300_fragment_shader::shadow_samplers and friendsMarek Olšák
2010-04-14trace: Ignore transfer_flush_region too.José Fonseca
2010-04-13i915g: Whitespace & formatingJakob Bornecrantz
2010-04-13i915g: Mark shared layouts more clearlyJakob Bornecrantz
2010-04-13Merge branch '7.8'Jesse Barnes
2010-04-13llvmpipe: disable half float formatsAlan Hourihane
2010-04-13nvfx: use dynamically sized rotating BO pool for fragment programsLuca Barbieri
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.
2010-04-13r300g: Silence uninitialized variable warning.Vinson Lee
2010-04-13nvfx: fix for 64-bit systemsLuca Barbieri
Thanks to Patrice Mandin for debugging this.
2010-04-13r300g: add generating texture coordinates for point spritesMarek Olšák
[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 <airlied@redhat.com>
2010-04-12nvfx: add LRP in vertprogLuca Barbieri
glsl generates these.
2010-04-12nvfx: add SIN and COS in vertprogLuca Barbieri
2010-04-12nvfx: add missing vertprog setcond instructionsLuca Barbieri
Trivially adds SEQ, SGT, SLE, SNE, SFL, STR and SSG which were missing.
2010-04-12nvfx: allocate a bigger block for queriesLuca Barbieri
This patch allocates a bigger chunk of memory to store queries in, increasing the (hidden) outstanding query limit.
2010-04-12nvfx: support an unlimited number of occlusion queriesLuca Barbieri
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.
2010-04-12r300g: Move declaration before code.Vinson Lee
Fixes SCons build.
2010-04-12nvfx: fix TXL opcode valueLuca Barbieri
Was broken during unification
2010-04-12nvfx: Add support for two sided colorLuca Barbieri
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.
2010-04-12nvfx: fix compile errorLuca Barbieri
2010-04-12nvfx: don't use hw index buffers on nv3x and nv44Luca Barbieri
They only apparently work on nv40 grclass cards, and this was the previous behavior of the driver. This really needs to be investigated more.
2010-04-12nvfx: expose PIPE_FORMAT_B8G8R8X8_UNORM supportLuca Barbieri
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.
2010-04-12nvfx: add support for ARB_half_float_vertexLuca Barbieri
2010-04-12nvfx: allocate buffers in GART if !NOUVEAU_SWTNLLuca Barbieri
Should improve performance and fix serious regressions on AGP cards.
2010-04-12nvfx: move check for NOUVEAU_SWTNLLuca Barbieri
2010-04-12nvfx: remove #include "nouveau_stateobj.h"Luca Barbieri
No longer used, finally!