Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | u_surfaces: fix surface leak due to off by one | Luca Barbieri | 2010-08-11 | 1 | -1/+1 |
| | |||||
* | auxiliary: make primitive splitter assert on unimplemented adjacency prims | Luca Barbieri | 2010-08-11 | 1 | -1/+4 |
| | | | | | They are unimplemented, even though the framework makes it possible to implement them well, and nv50 needs them. | ||||
* | auxiliary: fix u_split_prim naming convention | Luca Barbieri | 2010-08-11 | 3 | -9/+9 |
| | | | | Current practice is to start identifiers with "util_" instead of "u_". | ||||
* | auxiliary: move Ben Skeggs' primitive splitter to common code | Luca Barbieri | 2010-08-11 | 4 | -102/+104 |
| | | | | | | | | | | | | | | | | | | | | | This is a simple framework that handles splitting primitives in an abstract way. The user has to specify the primitive start, start index and count. Then, it can ask the primitive splitter to "draw" a chunk of the primitive, staying under a given vertex/index budget. The primitive splitter will then call user-supplied functions to emit a range of vertices/indices, as well as switch the edgeflag on or off. This is particularly useful for hardware that either has limits on the vertex count field, or where vertices are pushed on a FIFO or temporary buffer of limited size. Note that unlike other splitters, it does not manipulate data in any way, and merely asks a callback to do so, in vertex intervals. | ||||
* | mesa: Include missing header in prog_noise.h. | Vinson Lee | 2010-08-11 | 1 | -0/+2 |
| | | | | Include glheader.h for GLfloat symbol. | ||||
* | mesa: Clean up header file inclusion in prog_instruction.h. | Vinson Lee | 2010-08-11 | 1 | -1/+1 |
| | | | | | Remove mfeatures.h. Include glheader.h for GL symbols. | ||||
* | mesa: Include missing header in prog_execute.h. | Vinson Lee | 2010-08-11 | 1 | -0/+1 |
| | | | | Include mtypes.h for GLcontext symbol. | ||||
* | mesa: Include missing header in prog_cache.h. | Vinson Lee | 2010-08-11 | 1 | -0/+3 |
| | | | | Include mtypes.h for GLcontext symbol. | ||||
* | mesa: Include missing header in nvvertparse.h. | Vinson Lee | 2010-08-11 | 1 | -0/+1 |
| | | | | Include mtypes.h for GLcontext symbol. | ||||
* | mesa: Include missing header in nvfragparse.h. | Vinson Lee | 2010-08-11 | 1 | -0/+1 |
| | | | | Include mtypes.h for GLcontext symbol. | ||||
* | mesa: Remove unnecessary header from hash_table.h. | Vinson Lee | 2010-08-11 | 1 | -2/+0 |
| | |||||
* | swrast: fix span color array pointer assignment for 32-bit/channel rendering | [email protected] | 2010-08-10 | 1 | -0/+17 |
| | | | | | | | | See fd.o bug 29487. NOTE: This is a candidate for the 7.8 branch. Signed-off-by: Brian Paul <[email protected]> | ||||
* | r300g: initialize VAP_VTX_STATE_CNTL | Marek Olšák | 2010-08-11 | 1 | -0/+5 |
| | | | | This got lost during the rasterizer rewrite. | ||||
* | r300g: implement gl_FrontFacing | Marek Olšák | 2010-08-11 | 5 | -7/+97 |
| | |||||
* | swrast: Remove unnecessary header. | Vinson Lee | 2010-08-10 | 1 | -1/+0 |
| | |||||
* | svga: Remove unnecessary headers. | Vinson Lee | 2010-08-10 | 1 | -2/+0 |
| | |||||
* | r300g: Remove unnecessary header. | Vinson Lee | 2010-08-10 | 1 | -1/+0 |
| | |||||
* | glut: also check for GLX_ARB_multisample | Nigel Stewart | 2010-08-10 | 2 | -8/+11 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: use switch stmt in init_program_limits() | Brian Paul | 2010-08-10 | 1 | -5/+10 |
| | |||||
* | mesa: remove obsolete comments | Brian Paul | 2010-08-10 | 1 | -9/+9 |
| | |||||
* | r300/compiler: Use predicate bit for IF statements in r500 vertex shaders | Tom Stellard | 2010-08-10 | 3 | -3/+153 |
| | |||||
* | r300/compiler: Implement hardware assisted loops for vertex shaders. | Tom Stellard | 2010-08-10 | 11 | -21/+210 |
| | | | | Single loops work, but nested loops do not. | ||||
* | r300/compiler: Correctly transform nested loops. | Tom Stellard | 2010-08-10 | 1 | -16/+9 |
| | |||||
* | r600g: avoid reemiting literal, avoid scheduling empty cs | Jerome Glisse | 2010-08-10 | 6 | -32/+40 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | util: Add util_format_srgb(). | José Fonseca | 2010-08-10 | 1 | -0/+38 |
| | | | | To convert RGB -> SRGB format. | ||||
* | gallivm: fix non-SSE4.1 case in lp_build_pack2() | Brian Paul | 2010-08-10 | 1 | -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 assertions | Brian Paul | 2010-08-10 | 1 | -1/+9 |
| | |||||
* | mesa: fix comment typo | Brian Paul | 2010-08-10 | 1 | -1/+1 |
| | |||||
* | gallivm: Fix bitwise operations for floats, division for integers | nobled | 2010-08-10 | 2 | -5/+27 |
| | | | | | | http://bugs.freedesktop.org/29407 Signed-off-by: José Fonseca <[email protected]> | ||||
* | gallivm: Even more type checking | nobled | 2010-08-10 | 2 | -1/+26 |
| | | | | | | http://bugs.freedesktop.org/29407 Signed-off-by: José Fonseca <[email protected]> | ||||
* | llvmpipe: Always use floating-point operators for floating-point types | nobled | 2010-08-10 | 1 | -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 formats | Henri Verbeet | 2010-08-09 | 6 | -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 blits | Henri Verbeet | 2010-08-09 | 1 | -3/+4 |
| | |||||
* | gallivm: More type checks. | José Fonseca | 2010-08-09 | 1 | -0/+43 |
| | |||||
* | gallivm: Don't call LLVMBuildFNeg on llvm-2.6. | José Fonseca | 2010-08-09 | 2 | -9/+4 |
| | | | | It didn't exist yet. | ||||
* | gallivm: Always use floating-point operators for floating-point types | nobled | 2010-08-09 | 7 | -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é Fonseca | 2010-08-09 | 2 | -28/+30 |
| | | | | It's bound to be useful elsewhere. | ||||
* | r600g: fix r600 context structure, avoid segfault when no scissor | Jerome Glisse | 2010-08-09 | 2 | -3/+16 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r300g: do not print shader compiler errors by default | Marek Olšák | 2010-08-09 | 2 | -5/+4 |
| | |||||
* | r600g: fix some warnings | Marek Olšák | 2010-08-09 | 3 | -3/+5 |
| | |||||
* | r600g: fill out some missing caps and sort them | Marek Olšák | 2010-08-09 | 1 | -32/+65 |
| | | | | | | The shader caps need additional corrections. (based on a patch from netkas at Phoronix) | ||||
* | radeon: fix npot mipmap alignment on r600 | Andre Maasikas | 2010-08-09 | 1 | -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 version | Andre Maasikas | 2010-08-09 | 1 | -0/+2 |
| | | | | from the tests i couldn't find any new driver faults | ||||
* | r300g: fix hiz/zmask offset emissions. | Dave Airlie | 2010-08-09 | 1 | -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_DONTBLOCK | Luca Barbieri | 2010-08-09 | 1 | -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 flush | Marek Olšák | 2010-08-08 | 1 | -1/+0 |
| | | | | Ooops, it wasn't supposed to be there. | ||||
* | gallivm: Fix more integer operations. | José Fonseca | 2010-08-08 | 1 | -2/+4 |
| | |||||
* | gallivm: Use the correct context for integers | nobled | 2010-08-08 | 1 | -1/+1 |
| | | | | | See: http://bugs.freedesktop.org/29407 | ||||
* | r300g: flush zmasks of zbuffers we are going to use as samplers | Marek Olšák | 2010-08-08 | 4 | -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 cubemaps | Marek Olšák | 2010-08-08 | 1 | -0/+6 |
| |