summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* nvc0: fence.bo is mappable, mark it as suchBen Skeggs2010-12-211-1/+2
|
* Merge remote branch 'origin/master' into nvc0-newBen Skeggs2010-12-2129-72/+72
|\ | | | | | | | | Conflicts: src/gallium/drivers/nouveau/nouveau_winsys.h
| * nouveau: fix includes for latest libdrmBen Skeggs2010-12-215-6/+5
| | | | | | | | 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-2017-50/+39
| |
| * st/mesa: Remove comment cruft from st_context.h.Vinson Lee2010-12-201-1/+0
| | | | | | | | | | This was unintentionally added by commit 1525fb4afec0adc164948b4060ec1c0359441cd3.
| * st/mesa: Clean up header file inclusion in st_cb_texture.h.Vinson Lee2010-12-201-1/+2
| |
| * st/mesa: Clean up header file inclusion in st_cb_readpixels.h.Vinson Lee2010-12-201-1/+3
| |
* | 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-19862-40330/+47346
|\|
| * r300g: optimize the fallback for misaligned ushort indicesMarek Olšák2010-12-192-2/+22
| |
| * st/mesa: Clean up header file inclusion in st_cb_program.h.Vinson Lee2010-12-181-2/+0
| |
| * st/mesa: Clean up header file inclusion in st_cb_accum.h.Vinson Lee2010-12-181-1/+5
| |
| * mesa: Clean up header file inclusion in prog_statevars.h.Vinson Lee2010-12-181-1/+3
| |
| * mesa: fix queryobj whitespace.Dave Airlie2010-12-181-26/+26
| | | | | | | | Had done this before pushing but forgot to amend, doh.
| * mesa/swrast/st: add ARB_occlusion_query2 support.Dave Airlie2010-12-183-12/+33
| | | | | | | | | | | | | | | | | | | | This gets my vote for most pointless extension of all time, I'm guessing some driver could possibly optimise for this instead of counting it might just get a true/false, but I'm not really sure. need this to eventually advertise 3.3 despite its total uselessness. Signed-off-by: Dave Airlie <[email protected]>
| * mapi: Clean up sources.mk.Chia-I Wu2010-12-186-27/+29
| | | | | | | | | | | | Rename MAPI_GLAPI_SOURCES to MAPI_UTIL_SOURCES. Rename macro MAPI_GLAPI_CURRENT to MAPI_MODE_UTIL. Update the comments to make it clear that mapi may be used in two ways and how.
| * mapi: Clean up u_current interface.Chia-I Wu2010-12-189-56/+104
| | | | | | | | | | Try not to use macros to make u_current.h appear to be glapi.h. Use u_current.h to implement glapi.h instead whenever possible.
| * mapi: Add ABI-tag note.Chia-I Wu2010-12-182-0/+26
| | | | | | | | TLS requires kernel >= 2.4.20. Per glapi.
| * Refresh autogenerated file builtin_function.cpp.Kenneth Graunke2010-12-171-87/+34
| | | | | | | | | | NOTE: The 7.9 and 7.10 branches will need their builtins refreshed too. Rather than cherry-picking this commit, run 'make builtins'.
| * glsl/builtins: Compute the correct value for smoothstep(vec, vec, vec).Kenneth Graunke2010-12-171-87/+34
| | | | | | | | | | | | | | | | These mistakenly computed 't' instead of t * t * (3.0 - 2.0 * t). Also, properly vectorize the smoothstep(float, float, vec) variants. NOTE: This is a candidate for the 7.9 and 7.10 branches.
| * 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.
| * glsl: Expose a public glsl_type::void_type const pointer.Kenneth Graunke2010-12-173-4/+6
| | | | | | | | This is analogous to glsl_type::int_type and all the others.
| * 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.
| * Remove OES_compressed_paletted_texture from the ES2 extension list.Kenneth Graunke2010-12-161-2/+0
| | | | | | | | We don't support it.
| * 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
| * r600c : inline vertex format is not updated in an app, switch to use vfetch ↵richard2010-12-161-1/+1
| | | | | | | | constants. For the 7.9 and 7.10 branches as well.
| * intel: Support glCopyTexImage() from XRGB8888 to ARGB8888.Eric Anholt2010-12-163-2/+94
| | | | | | | | | | | | The only mismatch between the two is that we have to clear the destination's alpha to 1.0. Fixes WOW performance on my Ironlake, from a few frames a second to almost playable.
| * intel: Try to sanely check that formats match for CopyTexImage.Eric Anholt2010-12-161-40/+20
| | | | | | | | | | | | | | | | | | Before, we were going off of a couple of known (hopeful) matches between internalFormats and the cpp of the read buffer. Instead, we can now just look at the gl_format of the two to see if they match. We should avoid bad blits that might have been possible before, but also allow different internalFormats to work without having to enumerate each one.
| * intel: Drop commented intel_flush from copy_teximage.Eric Anholt2010-12-161-1/+0
| | | | | | | | | | | | The blit that follows appears in the command stream so it's serialized with previous rendering. Any queued vertices in the tnl layer were already flushed up in mesa/main/.
| * intel: Update renderbuffers before looking up CopyTexImage's read buffer.Eric Anholt2010-12-161-3/+4
| | | | | | | | Not fixing a particular bug, just noticed by code inspection.
| * 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
| |
| * st/mesa: s/varient/variantBrian Paul2010-12-1610-168/+168
| |
| * i965: Set the alternative floating point mode on gen6 VS and WM.Eric Anholt2010-12-163-0/+8
| | | | | | | | | | | | | | This matches how we did the math instructions pre-gen6, though it applies to non-math as well. Fixes vp1-LIT test 2 (degenerate case: 0 ^ 0 -> 1)
| * i915: Fix INTEL_DEBUG=wm segmentation faultShuang He2010-12-161-5/+5
| | | | | | | | The program should be disassembled after it's uploaded
| * 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]>
| * st/mesa: fix incorrect prev pointer in destroy_program_variants()Brian Paul2010-12-141-9/+9
| |