Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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]> | ||||
* | radeon/llvm: increase const regs count | Vadim Girlin | 2012-05-15 | 1 | -1/+1 |
| | | | | | Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: use IntrNoMem property for intrinsics where possible | Vadim Girlin | 2012-05-15 | 7 | -105/+171 |
| | | | | | Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: use correct intrinsic for CEIL | Vadim Girlin | 2012-05-15 | 2 | -3/+3 |
| | | | | | | | Should be round_posinf instead of round_neginf. Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: improve ABS_i32 lowering | Vadim Girlin | 2012-05-15 | 1 | -13/+5 |
| | | | | | | | | | We can save one instruction by lowering it to: SUB_INT tmp, 0, src MAX_INT dst, src, tmp Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: fix BUILD_VECTOR lowering for replicated value | Vadim Girlin | 2012-05-15 | 1 | -0/+2 |
| | | | | | | | We expect that all elements will be assigned even if they are equal Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: add names for AMDGPU* passes | Vadim Girlin | 2012-05-15 | 2 | -0/+5 |
| | | | | | Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: add generated files to .gitignore | Vadim Girlin | 2012-05-15 | 1 | -0/+18 |
| | | | | | Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeonsi: Keep around copies of original sampler states. | Michel Dänzer | 2012-05-14 | 1 | -0/+2 |
| | | | | Fixes crashes when restoring sampler states after blits. | ||||
* | radeonsi: Flesh out shader interpolation related code. | Michel Dänzer | 2012-05-14 | 3 | -4/+38 |
| | | | | Handle perspective interpolation and ceontroid vs. center. | ||||
* | radeonsi: Add proper SI family names. | Michel Dänzer | 2012-05-14 | 1 | -1/+3 |
| | |||||
* | radeonsi: Separate states for samplers and sampler views. | Michel Dänzer | 2012-05-14 | 2 | -3/+6 |
| | | | | And reset nregs on updates. Prevents eventual assertion failure. | ||||
* | radeonsi: Fixups for drawing with an index buffer. | Michel Dänzer | 2012-05-14 | 3 | -14/+13 |
| | | | | | Mostly using the DRAW_INDEX_2 type 3 packet instead of DRAW_INDEX, which is no longer supported on SI. | ||||
* | llvmpipe: Calculate fixed point coordinates for triangle setup earlier. | James Benton | 2012-05-14 | 1 | -56/+106 |
| | | | | | | | | | | | | This allows us to calculate the triangle's area using fixed point, previously it was cacluated in floating point space. It was possible that a triangle which had negative area in floating point space had a positive area in fixed point space. Fixes fdo 40920. Reviewed-by: Jose Fonseca <[email protected]> Reviewed-by: Brian Paul <[email protected]> | ||||
* | radeon/llvm: Coding style fixes for R600CodeEmitter.cpp | Tom Stellard | 2012-05-14 | 1 | -148/+90 |
| | |||||
* | radeon/llvm: Lower bitcast instructions to copies | Tom Stellard | 2012-05-14 | 1 | -0/+10 |
| | |||||
* | radeonsi: remove slab allocator for pipe_resource (used mainly for user buffers) | Marek Olšák | 2012-05-13 | 3 | -41/+3 |
| | |||||
* | r600g: remove slab allocator for pipe_resource (used mainly for user buffers) | Marek Olšák | 2012-05-13 | 3 | -41/+4 |
| | |||||
* | r600g: handle R16G16B16_FLOAT and R32G32B32_FLOAT in translate_colorswap (EG) | Marek Olšák | 2012-05-12 | 1 | -0/+2 |
| | |||||
* | gallium: remove user_buffer_create from the interface | Marek Olšák | 2012-05-12 | 18 | -198/+0 |
| | | | | Nothing uses it now. | ||||
* | r600g: Handle compute caps. | Francisco Jerez | 2012-05-12 | 1 | -0/+3 |
| | |||||
* | r300g: Handle compute caps. | Francisco Jerez | 2012-05-12 | 1 | -0/+5 |
| | |||||
* | trace: Fix pipe_context::clear dumping. | José Fonseca | 2012-05-12 | 1 | -1/+3 |
| | |||||
* | trace: Fix pipe_shader_state dumping. | José Fonseca | 2012-05-12 | 1 | -2/+4 |
| | |||||
* | trace: Match NULL context members. | José Fonseca | 2012-05-12 | 1 | -73/+79 |
| | |||||
* | radeonsi: Fixed point vertex formats aren't supported. | Michel Dänzer | 2012-05-12 | 1 | -4/+5 |
| | |||||
* | r600g: setup COLOR1 for possible dual-src in the framebuffer bind | Dave Airlie | 2012-05-12 | 4 | -15/+12 |
| | | | | | | | | As pointed out by Marek, if we have only one cb, we may as well add this single register write here rather than adding it in the draw loop. Reviewed-by: Marek Olšák <[email protected]> Signed-off-by: Dave Airlie <[email protected]> | ||||
* | nv30: Silence pipe_cap warnings | Roy Spliet | 2012-05-12 | 1 | -0/+4 |
| | | | | | Signed-off-by: Roy Spliet <[email protected]> Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | nv30/shader: SSG, LIT only requires one source register | Roy Spliet | 2012-05-12 | 2 | -2/+2 |
| | | | | | | | Fixes crashing due to assertion error Signed-off-by: Roy Spliet <[email protected]> Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | r300g/swtcl: move vertex buffer updates into set_vertex_buffers | Marek Olšák | 2012-05-12 | 2 | -29/+34 |
| | |||||
* | r300g/swtcl: move index buffer updates from swtcl_draw_vbo into set_index_buffer | Marek Olšák | 2012-05-12 | 2 | -15/+24 |
| | |||||
* | r300g/swtcl: malloc vertex and index buffers (don't use radeon DRM to get them) | Marek Olšák | 2012-05-12 | 4 | -43/+23 |
| | | | | | | Vertex and index buffers are never used by hardware, only by Draw. SWTCL chipsets usually have very little memory, so this might help with stability and reliability. | ||||
* | r300g/swtcl: don't do stuff which is only for HWTCL | Marek Olšák | 2012-05-12 | 2 | -13/+19 |
| | |||||
* | r300g: remove slab allocator for pipe_resource (used mainly for user buffers) | Marek Olšák | 2012-05-12 | 4 | -45/+3 |
| | |||||
* | r300g: remove user_buffer_create | Marek Olšák | 2012-05-12 | 3 | -32/+0 |
| | |||||
* | r300g: fix breakage after gallium-userbuf merge | Marek Olšák | 2012-05-12 | 2 | -18/+32 |
| |