Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | radeon/llvm: Remove AMDIL CMP instructions and associated lowering code | Tom Stellard | 2012-05-24 | 3 | -661/+22 |
| | |||||
* | radeon/llvm: Remove AMDIL ROUND_NEAREST instruction | Tom Stellard | 2012-05-24 | 4 | -6/+6 |
| | |||||
* | radeon/llvm: Remove AMDIL ROUND_POSINF instruction | Tom Stellard | 2012-05-24 | 4 | -6/+10 |
| | |||||
* | radeon/llvm: Add custom SDNode for FRACT | Tom Stellard | 2012-05-24 | 6 | -6/+10 |
| | |||||
* | radeon/llvm: Use -1 as true value for SET* integer instructions | Tom Stellard | 2012-05-24 | 3 | -32/+28 |
| | |||||
* | radeon/llvm: Handle SETGE_INT, SETGE_UINT, and SETGT_UINT opcodes | Tom Stellard | 2012-05-24 | 1 | -0/+6 |
| | | | | | Support for these was inadvertently dropped in commit cee23ab246f22210b3063cdc47bdb45b3d943526 | ||||
* | radeon/llvm: Avoid error with SI in EmitInstrWithCustomInserter() | Tom Stellard | 2012-05-24 | 1 | -0/+1 |
| | | | | | | We need to return immediately after inserting instructions that require S_WAITCNT so that the parent class' custom inserter won't try to insert them again. | ||||
* | llvmpipe: Fix alpha testing precision on rgba8 formats. | José Fonseca | 2012-05-22 | 3 | -1/+34 |
| | | | | | | | | | | This is a long standing problem, that recently surfaced with the change to enable perspective correct color interpolation. A fix for all possible formats is left to the future. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> | ||||
* | nv30: check for NULL vertex buffers in prevalidate_vbufs | Christoph Bumiller | 2012-05-22 | 1 | -1/+1 |
| | |||||
* | nv50: make unaligned index buffer offsets work again | Christoph Bumiller | 2012-05-22 | 1 | -1/+3 |
| | | | | Messed up in ef7bb281292c17b762b57779306e874704c87328. | ||||
* | nvc0: don't set NEW_IDXBUF in nvc0_switch_pipe_context if none is bound | Christoph Bumiller | 2012-05-22 | 1 | -0/+2 |
| | |||||
* | llvmpipe: Added a error counter to lp_test_conv. | James Benton | 2012-05-21 | 1 | -3/+7 |
| | | | | | | Useful for keeping track of progress when fixing errors! Signed-off-by: José Fonseca <[email protected]> | ||||
* | llvmpipe: Changed known failures in lp_test_conv. | James Benton | 2012-05-21 | 1 | -3/+9 |
| | | | | | | To comply with the recent fixes to lp_bld_conv. Signed-off-by: José Fonseca <[email protected]> | ||||
* | llvmpipe: Added fixed point types tests to lp_test_conv. | James Benton | 2012-05-21 | 1 | -6/+7 |
| | | | | Signed-off-by: José Fonseca <[email protected]> | ||||
* | radeon/llvm: Handle selectcc DAG node | Tom Stellard | 2012-05-20 | 7 | -54/+350 |
| | | | | | R600 can now select instructions from the selectcc DAG node, which is typically lowered to one of the SET* instructions. | ||||
* | svga: whitespace, comments, formatting clean-ups | Brian Paul | 2012-05-19 | 1 | -38/+31 |
| | |||||
* | svga: return PIPE_OK instead of 0 | Brian Paul | 2012-05-19 | 5 | -11/+11 |
| | | | | And fix the emit_rss() function's return type. | ||||
* | svga: fix zero-stride vertex array bug | Brian Paul | 2012-05-19 | 1 | -2/+6 |
| | | | | | | | | | | | | | | For zero-stride vertex arrays, the svga driver copies the value into the constant value and uses that value in the shader. The recent gallium-userbuf changes caused a regression in this. An example symptom was per-primitive glColor3f() calls getting ignored. Where we copied the vertex value from the vertex buffer to the constant buffer we neglected to take into account the pipe_vertex_buffer::buffer_offset field. Adding that value to the source offset fixes the problem. Actually, it looks like we should have been doing this all along, but it never was an issue before for some reason. | ||||
* | radeonsi: Only honour point related rasterizer state when rendering points. | Michel Dänzer | 2012-05-18 | 1 | -2/+3 |
| | | | | Avoids hangs when not rendering points. | ||||
* | radeonsi: Fix parameter cache offsets for fragment shader inputs. | Michel Dänzer | 2012-05-18 | 3 | -2/+4 |
| | |||||
* | radeon/llvm: Fix segfault while lowering lrp intrinsic | Tom Stellard | 2012-05-17 | 1 | -2/+3 |
| | |||||
* | radeon/llvm: Add DAG nodes for MIN instructions | Tom Stellard | 2012-05-17 | 6 | -14/+38 |
| | | | | Also, remove the AMDIL MIN* instruction defs. | ||||
* | llvmpipe: Avoid adding floating point zero to flat inputs. | José Fonseca | 2012-05-18 | 1 | -1/+4 |
| | | | | | Which could clobber integer inputs, if the addition is not optimized away (e.g., if optimizations are disabled for debugging purposes). | ||||
* | llvmpipe: Implement TXQ. | Olivier Galibert | 2012-05-18 | 1 | -0/+23 |
| | | | | | | | | | | Piglits test for fragment shaders pass, vertex shaders fail. The actual failure seems to be in the interpolators, and not the textureSize query. Signed-off-by: Olivier Galibert <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> Reviewed-by: José Fonseca <[email protected]> | ||||
* | llvmpipe: Don't mess with the provoking vertex when inverting a triangle. | Olivier Galibert | 2012-05-18 | 1 | -5/+40 |
| | | | | | | | Fixes a bunch of piglit tests related to flat interpolation of floats. Signed-off-by: Olivier Galibert <[email protected]> Signed-off-by: José Fonseca <[email protected]> | ||||
* | radeon/llvm: Lower lrp intrinsic during ISel | Tom Stellard | 2012-05-17 | 3 | -7/+19 |
| | |||||
* | radeon/llvm: Remove AMDIL MAD instruction defs | Tom Stellard | 2012-05-17 | 6 | -7/+14 |
| | |||||
* | radeon/llvm: Remove AMDIL MUL_IEEE* instructions | Tom Stellard | 2012-05-17 | 3 | -7/+3 |
| | |||||
* | r600g: Handle MUL_IEEE in r600_bytecode_get_num_operands | Tom Stellard | 2012-05-17 | 1 | -0/+2 |
| | |||||
* | radeon/llvm: Expand fsub during ISel | Tom Stellard | 2012-05-17 | 2 | -11/+2 |
| | |||||
* | radeon/llvm: Remove AMDIL floating-point ADD instruction defs | Tom Stellard | 2012-05-17 | 5 | -8/+9 |
| | |||||
* | radeon/llvm: Remove AMDIL CMOVLOG* instruction defs | Tom Stellard | 2012-05-17 | 4 | -26/+6 |
| | |||||
* | radeon/llvm: Move lowering of ABS_i32 to ISel | Tom Stellard | 2012-05-17 | 4 | -17/+16 |
| | |||||
* | radeon/llvm: Remove sub patterns from AMDILInstrPatterns.td | Tom Stellard | 2012-05-17 | 2 | -21/+1 |
| | |||||
* | radeon/llvm: Add custom SDNodes for MAX | Tom Stellard | 2012-05-17 | 10 | -10/+108 |
| | | | | | We now lower the various intrinsics for max to SDNodes and then use tablegen patterns to lower the SDNodes to instructions. | ||||
* | nouveau: place static buffers in VRAM if preferred by the driver | Christoph Bumiller | 2012-05-17 | 6 | -12/+62 |
| | |||||
* | nv50/ir: fix reversed order of lane ops in quadops | Christoph Bumiller | 2012-05-17 | 2 | -4/+6 |
| | |||||
* | nv50,nvc0: handle user vertex buffers | Christoph Bumiller | 2012-05-17 | 14 | -308/+423 |
| | | | | And restructure VBO validation a little in the process. | ||||
* | nv50,nvc0: handle user index buffers | Christoph Bumiller | 2012-05-17 | 8 | -47/+49 |
| | |||||
* | nv50,nvc0: handle user constbufs without wrapping them in a resource | Christoph Bumiller | 2012-05-17 | 14 | -165/+201 |
| | |||||
* | gallium/radeon: Fix r300g tiling breakage. | Michel Dänzer | 2012-05-16 | 4 | -0/+4 |
| | | | | | | Commit 11f056a3f0b87e86267efa8b5ac9d36a343c9dc1 broke the r300g build. Fix it up, and reinstate some code which isn't needed by r600g and radeonsi but is by r300g. | ||||
* | radeonsi: Initial tiling support. | Michel Dänzer | 2012-05-16 | 5 | -128/+356 |
| | | | | Largely based on the corresponding Evergreen support in r600g. | ||||
* | r600g: Set tiling information for BOs being shared. | Michel Dänzer | 2012-05-16 | 1 | -0/+12 |
| | | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=48747 | ||||
* | radeonsi: Bump MAX_DRAW_CS_DWORDS. | Michel Dänzer | 2012-05-16 | 3 | -3/+3 |
| | | | | I missed this when updating si_context_draw(). | ||||
* | draw,llvmpipe: Avoid named struct types on LLVM 3.0 and later. | José Fonseca | 2012-05-16 | 1 | -10/+2 |
| | | | | | | | | | | | | Starting with LLVM 3.0, named structures are meant not for debugging, but for recursive data types, previously also known as opaque types. The recursive nature of these types leads to several memory management difficulties. Given that we don't actually need recursive types, avoid them altogether. This is an attempt to address fdo bugs 41791 and 44466. The issue is somewhat random so there's no easy way to check how effective this is. | ||||
* | llvmpipe: Color slot interpolation can be flat or perspective, not linear. | Olivier Galibert | 2012-05-16 | 3 | -3/+3 |
| | | | | | | | Fixes a bunch of glsl 1.10 interpolation piglit tests. Signed-off-by: Olivier Galibert <[email protected]> Signed-off-by: José Fonseca <[email protected]> | ||||
* | llvmpipe: Add a test for lp_build_sgn. | José Fonseca | 2012-05-15 | 1 | -0/+13 |
| | | | | Only floating point though, but better than nothing. | ||||
* | svga: fix FBO / viewport bugs | Brian Paul | 2012-05-15 | 1 | -7/+24 |
| | | | | | | | | | | | When drawing to a FBO, the viewport wasn't always set correctly. It was fine in the usual case of the viewport dims matching the surface dims but broken otherwise. In particular, this was happening because the viewport scale is negative for FBO rendering. The piglit fbo-viewport test exercises this. Reviewed-by: José Fonseca <[email protected]> | ||||
* | radeon/llvm: add support for texture offsets, fix TEX_LD | Vadim Girlin | 2012-05-15 | 4 | -10/+51 |
| | | | | | Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: add SET_GRADIENTS*, fix SAMPLE_G | Vadim Girlin | 2012-05-15 | 6 | -9/+108 |
| | | | | | Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Tom Stellard <[email protected]> |