Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r600g: implement draw_rectangle callback | Marek Olšák | 2012-08-30 | 3 | -2/+72 |
| | | | | | | The color resolve on r6xx needs PT_RECTLIST. Using conventional primitive types (triangles and quads) produces an ugly line between two diagonally opposite corners. I guess a rectangular point sprite would work too. | ||||
* | r600g: implement MSAA for r700 | Marek Olšák | 2012-08-30 | 7 | -41/+262 |
| | | | | Reviewed-by: Jerome Glisse <[email protected]> | ||||
* | r600g: change programming of CB_SHADER_MASK on r600-r700 | Marek Olšák | 2012-08-30 | 1 | -1/+2 |
| | | | | | | | This one actually makes more sense and gives the expected value for MSAA resolve. Reviewed-by: Jerome Glisse <[email protected]> | ||||
* | r600g: fix relative addressing on RS780 and RS880 | Marek Olšák | 2012-08-28 | 1 | -7/+6 |
| | | | | | | They should be treated like RV670. Tested-by: Michel Dänzer <[email protected]> | ||||
* | r600g: implement compression for MSAA colorbuffers for evergreen | Marek Olšák | 2012-08-27 | 10 | -19/+479 |
| | | | | | | | | | | | | | | | | This adds the FMASK and CMASK buffers. They share the same resource with color data. COMPRESSION and FAST_CLEAR are always enabled if both FMASK and CMASK are allocated. We initialize the CMASK to a "compressed" state (not "fast cleared"), so that we can keep FAST_CLEAR enabled all the time. Both FMASK and CMASK must be present at the moment. If either one is missing, the other one is not used. v2: add cayman regs in the list Reviewed-by: Jerome Glisse <[email protected]> | ||||
* | r600g: cleanup names around depth decompression | Marek Olšák | 2012-08-27 | 5 | -24/+24 |
| | | | | | | for consistency with the upcoming color decompression naming Reviewed-by: Jerome Glisse <[email protected]> | ||||
* | r600g: fix evergreen 8x MSAA sample positions | Marek Olšák | 2012-08-27 | 1 | -16/+16 |
| | | | | | | | The original samples positions took samples outside of the pixel boundary, leading to dark pixels on the edge of the colorbuffer, among other things. Reviewed-by: Jerome Glisse <[email protected]> | ||||
* | r600g: set CB_TARGET_MASK to 0xf and not 0xff for resolve on evergreen | Marek Olšák | 2012-08-27 | 1 | -0/+1 |
| | | | | | | | independent_blend_enable must be true, so that the colormask isn't replicated in all colorbuffers. Reviewed-by: Jerome Glisse <[email protected]> | ||||
* | r600g: fix lockups with dual_src_blend v2 | Vadim Girlin | 2012-08-22 | 3 | -9/+45 |
| | | | | | | | | | | Disable blending when dual_src_blend is enabled and number of color exports in the current fragment shader is less than 2. Fixes lockups with ext_framebuffer_multisample- alpha-to-coverage-dual-src-blend piglit test. Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | r600g: Move common compute/3D register init to its own function | archibald | 2012-08-20 | 3 | -170/+219 |
| | | | | Signed-off-by: Tom Stellard <[email protected]> | ||||
* | r600g: disable tiling for 422 formats again | Marek Olšák | 2012-08-16 | 1 | -0/+4 |
| | |||||
* | r600g: fix blits of subsampled formats | Marek Olšák | 2012-08-16 | 1 | -20/+63 |
| | |||||
* | r600g: fix copying between NPOT mipmapped compressed textures | Marek Olšák | 2012-08-16 | 1 | -2/+3 |
| | | | | | | | | | We aligned the dimensions to the blocksize, then divided by it (in r600_blit.c), then minified, which was wrong. The minification must be done first, not last. This fixes piglit/fbo-generatemipmap-formats with S3TC and maybe a bunch of other tests too. Tested on RV730. | ||||
* | r600g: make F2U trans-only on r600-r700 | Marek Olšák | 2012-08-16 | 1 | -1/+1 |
| | | | | This fixes a failing assertion in r600_asm.c. | ||||
* | r600g: set CB_COLOR_INFO to INVALID for disabled colorbuffers on r600-r700 | Marek Olšák | 2012-08-16 | 1 | -0/+3 |
| | | | | Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | r600g: rename r600_resource_texture to r600_texture | Marek Olšák | 2012-08-16 | 9 | -48/+48 |
| | |||||
* | r600g: always put tiled textures in VRAM | Marek Olšák | 2012-08-16 | 1 | -1/+2 |
| | |||||
* | r600g: cleanup r600_resource_texture in favor of radeon_surface | Marek Olšák | 2012-08-16 | 5 | -29/+20 |
| | |||||
* | r600g: remove unused parameter in r600_texture_create_object | Marek Olšák | 2012-08-16 | 1 | -3/+2 |
| | |||||
* | r600g: fixup the usage flag for the flushed depth texture | Marek Olšák | 2012-08-16 | 1 | -1/+1 |
| | |||||
* | r600: update sampler, sampler_view code for the future | Brian Paul | 2012-08-16 | 4 | -19/+50 |
| | | | | | | | For when we have pipe->set_sampler_states(pipe, shader, start, num, samplers), etc. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | r600g: Glue to handle predicate aware output from llvm | Vincent Lejeune | 2012-08-15 | 1 | -11/+22 |
| | | | | Signed-off-by: Tom Stellard <[email protected]> | ||||
* | r600g: Fix instruction group merge when there are predicated insts. | Vincent Lejeune | 2012-08-15 | 1 | -0/+18 |
| | | | | Signed-off-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: Do not use PV/PS if PRED_SEL does not match | Vincent Lejeune | 2012-08-15 | 1 | -2/+4 |
| | | | | Signed-off-by: Tom Stellard <[email protected]> | ||||
* | r600g: Add support for predicates | Vincent Lejeune | 2012-08-15 | 4 | -11/+18 |
| | | | | Signed-off-by: Tom Stellard <[email protected]> | ||||
* | gallium/u_blitter: document custom meta helpers | Marek Olšák | 2012-08-15 | 1 | -2/+2 |
| | |||||
* | r600g: disable handling of DISCARD_RANGE | Marek Olšák | 2012-08-15 | 1 | -0/+2 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=53130 | ||||
* | r600g: implement timestamp query and get_timestamp hook | Marek Olšák | 2012-08-15 | 2 | -2/+28 |
| | | | | Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: enable MSAA on evergreen by default | Marek Olšák | 2012-08-15 | 1 | -3/+24 |
| | | | | v2: add the DRM version check | ||||
* | r600g: implement copying between MSAA textures | Marek Olšák | 2012-08-15 | 1 | -4/+10 |
| | |||||
* | r600g: implement MSAA color resolve | Marek Olšák | 2012-08-15 | 4 | -3/+108 |
| | |||||
* | r600g: implement MSAA depth-stencil decompression and resolve | Marek Olšák | 2012-08-15 | 4 | -35/+140 |
| | | | | and integer textures, which are resolved the same as depth, I think. | ||||
* | r600g: implement TXQ_LZ opcode | Marek Olšák | 2012-08-15 | 1 | -7/+15 |
| | |||||
* | r600g: implement MSAA rendering and texturing for evergreen and cayman | Marek Olšák | 2012-08-15 | 4 | -26/+232 |
| | |||||
* | r600g: implement set_sample_mask | Marek Olšák | 2012-08-15 | 6 | -17/+61 |
| | |||||
* | r600g: implement alpha-to-coverage | Marek Olšák | 2012-08-15 | 6 | -6/+32 |
| | |||||
* | r600g: implement alpha-to-one | Marek Olšák | 2012-08-15 | 5 | -2/+20 |
| | |||||
* | r600g: remove support for 3-channel colorbuffers | Marek Olšák | 2012-08-15 | 2 | -15/+0 |
| | | | | We have no sampler support for them. | ||||
* | gallium/u_blitter: implement blitting multisample resources | Marek Olšák | 2012-08-15 | 1 | -2/+2 |
| | | | | It can blit only one sample at a time (it should be called in a loop). | ||||
* | radeon/llvm: Use correct opcocde for BREAK_LOGICALNZ_i32 | Tom Stellard | 2012-08-14 | 1 | -11/+15 |
| | |||||
* | r600g: remove unused parameters in texture functions | Marek Olšák | 2012-08-07 | 1 | -5/+3 |
| | |||||
* | r600g: atomize sampler state v2 | Jerome Glisse | 2012-08-06 | 7 | -452/+262 |
| | | | | | | | | | | | Use atom for sampler state. Does not provide new functionality or fix any bug. Just a step toward full atom base r600g. v2: Split seamless on r6xx/r7xx into it's own atom. Make sure it's emited after sampler and with a pipeline flush before otherwise it does not take effect. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: precompute color buffer state in pipe_surface and reuse it | Marek Olšák | 2012-08-04 | 5 | -130/+175 |
| | |||||
* | r600g: precompute depth buffer state in pipe_surface and reuse it | Marek Olšák | 2012-08-04 | 3 | -77/+92 |
| | | | | | This is done on-demand, because we don't know in advance if a zbuffer will be bound as depth or color. | ||||
* | r600g: simplify create_surface | Marek Olšák | 2012-08-04 | 1 | -20/+8 |
| | |||||
* | r600g: drop the old texture allocation code | Marek Olšák | 2012-08-04 | 7 | -691/+233 |
| | | | | Made obsolete by the libdrm surface allocator. | ||||
* | r600g: make sure copying of all texture formats is accelerated | Marek Olšák | 2012-08-04 | 2 | -52/+54 |
| | |||||
* | r600g: don't decompress depth or stencil if there isn't any | Marek Olšák | 2012-08-04 | 4 | -9/+17 |
| | |||||
* | r600g: correct texture memory size for Z32F_S8X24 on evergreen | Marek Olšák | 2012-08-04 | 1 | -7/+16 |
| | |||||
* | gallium/u_blitter: remove fallback for stencil copy that all drivers skipped | Marek Olšák | 2012-08-04 | 1 | -1/+1 |
| | | | | Reviewed-by: Brian Paul <[email protected]> |