summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* nvc0: use the proper typed opcodes in constant foldingChristoph Bumiller2011-01-041-86/+92
|
* nvc0: demagic GP invocation count bitfieldChristoph Bumiller2011-01-041-2/+16
|
* nvc0: rewrite the 9097 GRAPH macrosChristoph Bumiller2011-01-042-177/+192
|
* drm/nvc0: don't un-bind every subchannel on initBen Skeggs2010-12-301-5/+0
| | | | | | | The initial values in the grctx are 0x0000 anyway, and re-binding them all to 0x0000 destroys some init done by the nouveau drm. Signed-off-by: Ben Skeggs <[email protected]>
* nvc0: reference the vertex buffersChristoph Bumiller2010-12-271-0/+6
|
* nvc0: reenable some shader optimizationsChristoph Bumiller2010-12-272-51/+63
| | | | CSE and constants folding.
* nvc0: use VTX_ATTR for stride 0 vertex attributesChristoph Bumiller2010-12-271-30/+69
|
* nvc0: implement VRAM buffer transfers with bounce buffersChristoph Bumiller2010-12-2712-116/+336
|
* nvc0: init miptree transfer layer strideChristoph Bumiller2010-12-271-1/+2
|
* nvc0: respond please inline to PIPE_SHADER_CAP_SUBROUTINESChristoph Bumiller2010-12-231-0/+2
|
* nvc0: fix layer stride stateChristoph Bumiller2010-12-233-18/+30
|
* nvc0: use most defs/decls from nouveau_pushbuf.hChristoph Bumiller2010-12-238-118/+29
|
* nvc0: remove unused 'buf' parameter in pipe_buffer_unmapBen Skeggs2010-12-211-1/+1
|
* nvc0: BEGIN_RING->BEGIN_RING_NI in a couple of placesBen Skeggs2010-12-212-2/+2
|
* nvc0: fence.bo is mappable, mark it as suchBen Skeggs2010-12-211-1/+2
|
* Merge remote branch 'origin/master' into nvc0-newBen Skeggs2010-12-2122-59/+59
|\ | | | | | | | | Conflicts: src/gallium/drivers/nouveau/nouveau_winsys.h
| * nouveau: fix includes for latest libdrmBen Skeggs2010-12-214-5/+4
| | | | | | | | Signed-off-by: Ben Skeggs <[email protected]>
| * r600g: properly unset vertex bufferJerome Glisse2010-12-203-12/+22
| | | | | | | | | | | | Fix bug http://bugs.freedesktop.org/show_bug.cgi?id=32455 Signed-off-by: Jerome Glisse <[email protected]>
| * st/python: remove unused 'buf' parameter in pipe_buffer_unmapVinson Lee2010-12-201-1/+1
| | | | | | | | | | | | This is a follow-up to commit ec51092a72e2dff1e9b1362d813fe4691cda89b7. Fixes SCons build.
| * gallium: remove unused 'buf' parameter in pipe_buffer_unmapMarek Olšák2010-12-2014-41/+32
| |
* | nvc0: s/INLIN_RING/IMMED_RINGChristoph Bumiller2010-12-195-11/+11
| |
* | nvc0: improve shader support for texturingChristoph Bumiller2010-12-196-45/+133
| | | | | | | | Fixed shadow and cube texture fetches, add array texture fetches.
* | nvc0: adapt to array textures interface changeChristoph Bumiller2010-12-199-201/+251
| |
* | Merge remote branch 'origin/master' into nvc0-newChristoph Bumiller2010-12-19467-10890/+14933
|\|
| * r300g: optimize the fallback for misaligned ushort indicesMarek Olšák2010-12-192-2/+22
| |
| * gallivm: Cleanup util_format_xxx_fetch_xxx call generation.José Fonseca2010-12-171-47/+24
| | | | | | | | | | | | | | No need to register function prototypes in the module now that we call the C function pointer directly -- less LLVM objects lying around. Limited testing with lp_test_format.
| * r300g: finally fix the texture corruption on r3xx-r4xxMarek Olšák2010-12-171-17/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | Even though a bound texture stays bound when calling set_fragment_sampler_views, it must be assigned a new cache region depending on the occupancy of other texture units. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28800 Thanks to Álmos <[email protected]> for finding the bug in the code. NOTE: This is a candidate for both the 7.9 and 7.10 branches.
| * softpipe: remove sp_tex_tile_cache_border_color()Brian Paul2010-12-163-34/+2
| | | | | | | | | | | | | | With swizzling done at the end of texture sampling, we can greatly simplify swizzling of the border color. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32460
| * softpipe: fix depth texture sampling regressionBrian Paul2010-12-161-9/+17
| | | | | | | | | | | | | | We need to keep using the pipe_get_tile_swizzle() even though there's no swizzling because we need to explicitly pass in the surface format. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32459
| * gallivm: fix copy&paste error from previous commitBrian Paul2010-12-161-1/+1
| | | | | | | | | | | | Fixes piglit regression, http://bugs.freedesktop.org/show_bug.cgi?id=32452 NOTE: This is a candidate for the 7.10 branch
| * gallivm: work around LLVM 2.6 bug when calling C functionsBrian Paul2010-12-162-11/+61
| | | | | | | | | | | | | | | | | | Create a constant int pointer to the C function, then cast it to the function's type. This avoids using trampoline code which seem to be inadvertantly freed by LLVM in some situations (which leads to segfaults). The root issue and work-around were found by José. NOTE: This is a candidate for the 7.10 branch
| * draw: s/varient/variant/Brian Paul2010-12-1610-110/+110
| |
| * svga: s/varient/variant/Brian Paul2010-12-162-2/+2
| |
| * i965g: s/varient/variant/Brian Paul2010-12-164-8/+8
| |
| * i915g: s/varient/variant/Brian Paul2010-12-163-3/+3
| |
| * softpipe: s/varient/variantBrian Paul2010-12-165-77/+77
| |
| * nvfx: fix fragprog word swapping on big-endian machinesBen Skeggs2010-12-161-2/+2
| | | | | | | | Signed-off-by: Ben Skeggs <[email protected]>
| * gallium: properly check for src->dst blit compatibilitiesJerome Glisse2010-12-151-2/+2
| | | | | | | | | | | | Spotted by Christoph Bumiller & Jose Fonseca Signed-off-by: Jerome Glisse <[email protected]>
| * r600g: fix pow(0, 0) evaluating to NaNFredrik Höglund2010-12-151-1/+1
| | | | | | | | | | | | | | We have to use the non-IEEE compliant version of MUL here, since log2(0) is -inf, and 0 * -inf is NaN in IEEE arithmetic. candidates for 7.10 branch
| * r600g: need to reference upload buffer as the might still live accross flushJerome Glisse2010-12-152-2/+4
| | | | | | | | | | | | | | | | | | | | Can't get away from referencing upload buffer as after flush a vertex buffer using the upload buffer might still be active. Likely need to simplify the pipe_refence a bit so we don't waste so much cpu time in it. candidates for 7.10 branch Signed-off-by: Jerome Glisse <[email protected]>
| * softpipe: do texture swizzle during texture samplingBrian Paul2010-12-144-15/+114
| | | | | | | | | | | | Instead of when we read texture tiles. Now swizzling happens after the shadow depth compare step. This fixes the piglit glsl-fs-shadow2d* tests (except for proj+bias because of a GLSL bug).
| * tgsi: document texture opcodesBrian Paul2010-12-141-6/+58
| |
| * gallivm: do texture swizzle after shadow compareBrian Paul2010-12-142-4/+2
| | | | | | | | | | | | | | | | | | We need to swizzle after the shadow comparison so that the GL_DEPTH_MODE functionality is handled properly. This fixes all the piglit glsl-fs-shadow2d*.shader_test cases, except for glsl-fs-shadow2dproj-bias.shader_test which fails because of a bug in the GLSL compiler (fd.o 32395).
| * r600g: fix segfault when translating vertex bufferJerome Glisse2010-12-144-21/+10
| | | | | | | | | | | | | | | | | | Note the support for non float vertex draw likely regressed need to find what we want to do there. candidates for 7.10 branches Signed-off-by: Jerome Glisse <[email protected]>
| * gallivm: store callbacks in a linked list rather than fixed size arrayBrian Paul2010-12-131-26/+28
| | | | | | | | Should fix http://bugs.freedesktop.org/show_bug.cgi?id=32308
| * r600g: fix rendering with a vertex attrib having a zero strideAlex Deucher2010-12-121-4/+6
| | | | | | | | | | | | | | | | | | The hardware supports zero stride just fine. This is a port of 2af8a1983180fc0168c1e0e53bcc69ee3d684ea4 from r300g. NOTE: This is a candidate for both the 7.9 and 7.10 branches. Signed-off-by: Alex Deucher <[email protected]>
| * r300g: fixup rs690 tiling stride alignment calculations.Dave Airlie2010-12-133-31/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | The RS690 memory controller prefers things to be on a different boundary than the discrete GPUs, we had an attempt to fix this, but it still failed, this consolidates the stride calculation into one place and removes the really special case check. This fixes gnome-shell and 16 piglit tests on my rs690 system. NOTE: This is a candidate for both the 7.9 and 7.10 branches. Signed-off-by: Dave Airlie <[email protected]>
| * r300g: fix rendering with a vertex attrib having a zero strideMarek Olšák2010-12-111-7/+7
| | | | | | | | | | | | | | | | | | The hardware apparently does support a zero stride, so let's use it. This fixes missing objects in ETQW, but might also fix a ton of other similar-looking bugs. NOTE: This is a candidate for both the 7.9 and 7.10 branches.
| * tgsi: fix rbug compile errorMarek Olšák2010-12-111-1/+2
| | | | | | | | | | | | | | ../mesa/src/gallium/auxiliary/tgsi/tgsi_parse.h:139: error: dereferencing pointer ‘tokens.25’ does break strict-aliasing rules Signed-off-by: Marek Olšák <[email protected]>
| * r600g: fix bo size when creating bo from handleJerome Glisse2010-12-101-1/+1
| | | | | | | | | | | | Spoted by Alex Diomin Signed-off-by: Jerome Glisse <[email protected]>