aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* r300/compiler: Implement hardware assisted loops for vertex shaders.Tom Stellard2010-08-1011-21/+210
| | | | Single loops work, but nested loops do not.
* r300/compiler: Correctly transform nested loops.Tom Stellard2010-08-101-16/+9
|
* r600g: avoid reemiting literal, avoid scheduling empty csJerome Glisse2010-08-106-32/+40
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* util: Add util_format_srgb().José Fonseca2010-08-101-0/+38
| | | | To convert RGB -> SRGB format.
* gallivm: fix non-SSE4.1 case in lp_build_pack2()Brian Paul2010-08-101-5/+9
| | | | | | | Since there's no SSE instruction for this case, fall through to the generic shuffle code. Fixes bug fd.o 29468.
* mesa: additional program limit assertionsBrian Paul2010-08-101-1/+9
|
* mesa: fix comment typoBrian Paul2010-08-101-1/+1
|
* gallivm: Fix bitwise operations for floats, division for integersnobled2010-08-102-5/+27
| | | | | | http://bugs.freedesktop.org/29407 Signed-off-by: José Fonseca <[email protected]>
* gallivm: Even more type checkingnobled2010-08-102-1/+26
| | | | | | http://bugs.freedesktop.org/29407 Signed-off-by: José Fonseca <[email protected]>
* llvmpipe: Always use floating-point operators for floating-point typesnobled2010-08-101-9/+8
| | | | | | | | See: http://bugs.freedesktop.org/29404 http://bugs.freedesktop.org/29407 Signed-off-by: José Fonseca <[email protected]>
* radeon: Use MESA_FORMAT_SARGB8 for sRGB formatsHenri Verbeet2010-08-096-19/+19
| | | | | | This can be supported on r600 without using the endian swapper, and is a better fit for (typical) uploads using GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV anyway.
* r600c: Disable alpha test during blitsHenri Verbeet2010-08-091-3/+4
|
* gallivm: More type checks.José Fonseca2010-08-091-0/+43
|
* gallivm: Don't call LLVMBuildFNeg on llvm-2.6.José Fonseca2010-08-092-9/+4
| | | | It didn't exist yet.
* gallivm: Always use floating-point operators for floating-point typesnobled2010-08-097-92/+137
| | | | | | | | | | | | | | | | | This fixes the assert added in LLVM 2.8: assert(getType()->isIntOrIntVectorTy() && "Tried to create an integer operation on a non-integer type!") But it also fixes some subtle bugs, since we should've been doing this since LLVM 2.6 anyway. Includes a modified patch from [email protected] for the FNeg instructions in emit_fetch(); thanks for pointing those out. http://bugs.freedesktop.org/29404 http://bugs.freedesktop.org/29407 Signed-off-by: José Fonseca <[email protected]>
* util: Move _mm_shuffle_epi8() to u_sse.h.José Fonseca2010-08-092-28/+30
| | | | It's bound to be useful elsewhere.
* r600g: fix r600 context structure, avoid segfault when no scissorJerome Glisse2010-08-092-3/+16
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r300g: do not print shader compiler errors by defaultMarek Olšák2010-08-092-5/+4
|
* r600g: fix some warningsMarek Olšák2010-08-093-3/+5
|
* r600g: fill out some missing caps and sort themMarek Olšák2010-08-091-32/+65
| | | | | | The shader caps need additional corrections. (based on a patch from netkas at Phoronix)
* radeon: fix npot mipmap alignment on r600Andre Maasikas2010-08-091-1/+1
| | | | | seems it got lost in commit 0d383547 have no earlier radeons to test, but npot mipmaps were not supported there?
* r600: bump glsl versionAndre Maasikas2010-08-091-0/+2
| | | | from the tests i couldn't find any new driver faults
* r300g: fix hiz/zmask offset emissions.Dave Airlie2010-08-091-2/+2
| | | | | | ofs is in dwords, so need to shift it for registers. Signed-off-by: Dave Airlie <[email protected]>
* nouveau: fix maps with PIPE_TRANSFER_UNSYNCHRONIZED | PIPE_TRANSFER_DONTBLOCKLuca Barbieri2010-08-091-3/+2
| | | | | | | | | In this case, we were incorrectly prioritizing PIPE_TRANSFER_DONTBLOCK over PIPE_TRANSFER_UNSYNCHRONIZED. This can lead to failure in the Mesa VBO draw paths that end up specifying both, but don't expect map to fail (in particular, the problem manifested as a leak of buffer objects in teapot with other changes).
* r300g: remove a flushMarek Olšák2010-08-081-1/+0
| | | | Ooops, it wasn't supposed to be there.
* gallivm: Fix more integer operations.José Fonseca2010-08-081-2/+4
|
* gallivm: Use the correct context for integersnobled2010-08-081-1/+1
| | | | | See: http://bugs.freedesktop.org/29407
* r300g: flush zmasks of zbuffers we are going to use as samplersMarek Olšák2010-08-084-7/+58
| | | | It sometimes works, sometimes not. I guess we have the zmask offsets wrong.
* r300g: do not allocate a zmask block for 3D textures and cubemapsMarek Olšák2010-08-081-0/+6
|
* r300g: generalize the way we ask for hyperzMarek Olšák2010-08-081-9/+26
| | | | | | | This makes it compatible with the modified DRM interface in drm-radeon-testing. Also, now you need to set RADEON_HYPERZ=1 to be able to use hyperz. It's not bug-free yet.
* gallivm: Add type checks for the basic operations.José Fonseca2010-08-081-0/+12
|
* draw: Remove unused variable.José Fonseca2010-08-081-4/+2
|
* draw: Use the correct type for integersnobled2010-08-081-4/+2
| | | | | | | | Two integers were being operated on as a vector of floats in draw_llvm_generate(). This bug got uncovered by fixing this bug: http://bugs.freedesktop.org/29407
* r300g: take hiz/zmask offsets into a/c when clearing.Dave Airlie2010-08-081-0/+4
| | | | | | Need to add a test for multi-hiz/zmask db in a single context. Signed-off-by: Dave Airlie <[email protected]>
* i810: Add missing header m_xform.h.Vinson Lee2010-08-071-0/+2
| | | | | This is another follow-up to commit f4511c4835879090ce7e6afe3ac26b98fb91899a.
* dri: Add missing header m_xform.h.Vinson Lee2010-08-075-0/+11
| | | | | | | | This is a follow-up patch to commit f4511c4835879090ce7e6afe3ac26b98fb91899a. Files that include tnl_dd/t_dd_dmatmp.h now need to also include m_xform.h as t_context.h no longer includes it.
* tnl: Reduce header file inclusion in t_context.h.Vinson Lee2010-08-073-2/+2
| | | | | | | | | | | t_context.h Remove m_matrix.h and m_xform.h. t_vb_program.c Include m_xform.h. t_vb_render.c Include m_xform.h.
* swrast: Reduce header file inclusion in s_zoom.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Fix header file inclusion in s_texfilter.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_context.h for texture_sample_func symbol.
* swrast: Reduce header file inclusion in s_texcombine.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext sybmol. Include s_span.h for SWspan symbol.
* swrast: Reduce header file inclusion in s_stencil.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Reduce header file inclusion in s_masking.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Reduce header file inclusion in s_logic.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Reduce header file inclusion in s_fragprog.h.Vinson Lee2010-08-072-1/+3
| | | | | | | | | s_fragprog.h Include mtype.h for GLcontext symbol. Include s_span.h for SWspan symbol. s_fragprog.c Include s_context.h now that it is removed from s_fragprog.h.
* swrast: Reduce header file inclusion in s_fog.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Clean up header file inclusion in s_depth.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Include missing header in s_context.h.Vinson Lee2010-08-071-0/+1
| | | | Include compiler.h for _ASMAPIP symbol.
* swrast: Clean up header file inclusion in s_blend.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Clean up header file inclusion in s_atifragshader.h.Vinson Lee2010-08-072-1/+3
| | | | | | | | | s_atifragshader.h Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol. s_atifragshader.c Include s_context.h for SWcontext symbol.
* swrast: Clean up header file inclusion in s_alpha.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.