summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* glslcompiler: Fix build.Vinson Lee2010-07-081-2/+2
|
* r300g: fix texturing with negative lod biasMarek Olšák2010-07-091-1/+1
| | | | This should fix FDO bugs #28437 and #28625.
* r300g: store/return the stride for winsys_handle in winsysMarek Olšák2010-07-083-15/+18
|
* i965: Add disasm for SEND mlen/rlen on Sandybridge.Eric Anholt2010-07-082-3/+4
|
* i965: Add 'wait' instruction supportZhenyu Wang2010-07-082-0/+30
| | | | | | | | When EU executes 'wait' instruction, it stalls and sets notification register state. Host can issue MMIO write to clear notification register state to allow EU continue on executing again. Signed-off-by: Zhenyu Wang <[email protected]>
* i965: Fix disasm of a SEND's mlen and rlen on Ironlake.Eric Anholt2010-07-081-4/+11
|
* i965: Add decode for Sandybridge DP write messages.Zhenyu Wang2010-07-081-9/+21
|
* i965: Add definitions for Sandybridge DP write/read messages.Zhenyu Wang2010-07-082-6/+53
|
* r300g: fix transfering compressed texturesMarek Olšák2010-07-081-1/+1
|
* intel: Update intel_decode.c from intel-gpu-tools.Eric Anholt2010-07-084-192/+435
| | | | This came from commit cf255e382d147fe3ca450f0dcec3525190e7dcbc
* gallium: bump PIPE_MAX_SHADER_INPUTS/OUTPUTS to 32Brian Paul2010-07-081-2/+2
|
* r300g: add a function for marking framebuffer atoms as dirtyMarek Olšák2010-07-083-11/+32
|
* r300g: minor fixupsMarek Olšák2010-07-085-7/+7
|
* glsl: fix 'if ((x=foo()) > 1.0)' bugBrian Paul2010-07-081-1/+5
| | | | | | | | | Fixes fd.o bug 27216. May also be the root cause of fd.o bug 28950. We weren't propogating the storage info for the x=foo() expression up through the IR tree to the inequality expression. NOTE: This is a candidate for the Mesa 7.8 branch.
* st/mesa: additional assertions in st_translate_mesa_program()Brian Paul2010-07-081-0/+5
|
* slang: fix typosZack Rusin2010-07-081-2/+2
|
* slang: add some comments related to geometry shadersZack Rusin2010-07-082-0/+15
|
* gs: inject const int gl_VerticesIn at link timeZack Rusin2010-07-086-27/+50
|
* mesa: initial support for new GL 3.0 texture formatsBrian Paul2010-07-074-5/+85
|
* gallivm: restore const qualifierBrian Paul2010-07-071-1/+1
|
* gallivm: fix cube map LOD computationBrian Paul2010-07-071-38/+54
| | | | | | | | | | | | | | | First, this undoes commit e503af4baa2c709ae5743bb278b277d3faaba076 so we use iround() in lp_build_nearest_mip_level(). Second, in lp_build_sample_general() we need to check if we're sampling a cube map before anything else. Choose the cube face and then recompute the partial derivatives of (S,T) with respect to the chosen cube face. Before, we were using the directional (S,T,R) derivatives to compute the LOD. Third, work around an apparent bug in LLVM 2.7 where setting the lod variable to a const(0) value results in bad x86 code. See comments in the code.
* st/mesa: fix sampler max_lod computationBrian Paul2010-07-071-1/+2
| | | | | This change makes gallium behave like other GL implementations and fixes a conformance failure.
* r600: workaround 3 comp GL_SHORT vertex attribute format on r700Andre Maasikas2010-07-071-1/+3
| | | | guess it's a hw errata?
* glsl: use Elements() in arrays instead of sentinal valuesBrian Paul2010-07-071-20/+20
| | | | | | The _slang_*_output_name() functions had one too many loop iterations because of the sentinal end-of-list values in the vertOutput array. Just use Elements() everywhere.
* llvmpipe: Don't build lp_test_round when using MSVC.Vinson Lee2010-07-061-1/+3
| | | | | | | lp_test_round uses the math functions round and trunc, which aren't available with MSVC. Fixes the MSVC build for now.
* llvmpipe: Add lp_test_round to SCons build.Vinson Lee2010-07-061-0/+1
|
* egl: Remove unnecessary headers.Vinson Lee2010-07-062-2/+0
|
* draw: Remove unnecessary header.Vinson Lee2010-07-061-1/+0
|
* gallivm: Remove unnecessary header.Vinson Lee2010-07-061-1/+0
|
* util: print help for debug options on non-debug buildsMarek Olšák2010-07-071-2/+2
| | | | I'd like to see the help when I request it.
* gallivm: use trunc, not round in lp_build_nearest_mip_level()Brian Paul2010-07-061-1/+1
| | | | Fixes fd.o bug 28036 (piglit fbo-cubemap.c regression)
* llvmpipe: add test program for round(), trunc(), floor(), ceil()Brian Paul2010-07-062-0/+278
|
* gallivm: finish implementation of lp_build_iceil()Brian Paul2010-07-061-19/+67
| | | | | | Plus fix minor error in lp_build_iceil() by tweaking the offset value. And add a bunch of comments for the round(), trunc(), floor(), ceil() functions.
* llvmpipe: disconnect vertex texture sampling from the setupZack Rusin2010-07-068-89/+85
| | | | | | | it was wrong to put this in the fs paths, but it was easier to just stuff it along the fragment texture sampling paths. the patch disconnects vertex texture sampling and just maps the textures before the draw itself and unmaps them after.
* draw: make sure softpipe doesn't crash with vertex tex samplingZack Rusin2010-07-061-7/+16
| | | | | | softpipe doesn't implement the draw's llvm tex sampling interface so make sure draw can handle the cases where the driver doesn't implement the interface
* draw: implement vertex texture sampling using llvmZack Rusin2010-07-0615-32/+516
|
* r300/compiler: Implement KILP opcode.Tom Stellard2010-07-066-1/+43
| | | | Signed-off-by: Marek Olšák <[email protected]>
* gallivm: Use SSE4.1's BLENDV instructions for lp_build_select().José Fonseca2010-07-061-0/+41
|
* gallivm: Fix 8bit comparisons.José Fonseca2010-07-061-5/+3
|
* llvmpipe: ensure all bins are reset avoids memory corruption.Alan Hourihane2010-07-061-2/+2
|
* mesa: Always initialize transform feedback state.Chia-I Wu2010-07-062-24/+48
| | | | | | Assert ctx->Driver.NewTransformFeedback if the feature is enabled; Use the default callbacks otherwise. The rest of core mesa expects the state to be initialized.
* egl: Rework driver loading.Chia-I Wu2010-07-067-211/+365
| | | | | | | | | | | | | | | Driver loading is now splitted into two stages. In the first stage, an _EGLModule is created for each driver: user driver, default drivers, and all files in the search directories that start with "egl_". Modules are not loaded at this stage. In the second stage, each module is loaded to initialize a display. The process stops at the first module that can initialize the display. If eglGetProcAddress is called before eglInitialize, the same code path will be taken to find the first module that supports EGL_DEFAULT_DISPLAY. Because we do not want to initialize the display, drv->Probe is used instead in this case.
* st/egl: Add support for !GLX_DIRECT_RENDERING.Chia-I Wu2010-07-064-41/+79
| | | | | | | st/egl uses GLX code for DRI2 support. It should honor GLX_DIRECT_RENDERING. Also updates configure.ac to define GLX_DIRECT_RENDERING for st/egl.
* mesa: initial support for unnormalized integer texture formatsBrian Paul2010-07-059-133/+1140
| | | | As defined by GL_EXT_texture_integer.
* auxiliary/util: Add SM3 meta-cap list.Corbin Simpson2010-07-051-0/+17
|
* llvmpipe: wait for queries being finished when asked for it or before deletionRoland Scheidegger2010-07-051-6/+26
| | | | | This fixes bug #28757, though does not yet address the issue that fences aren't always emitted.
* i915g: Remove unnecessary header.Vinson Lee2010-07-041-1/+0
|
* i915g: Add flag to not send commands to hwJakob Bornecrantz2010-07-043-1/+6
|
* i915g: If the kernel reject the batchbuffer print it then assertJakob Bornecrantz2010-07-041-13/+18
|
* i915g: Minor cleanupsJakob Bornecrantz2010-07-042-9/+16
|