Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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]> | ||||
* | llvmpipe: consolidate the sampler and sampler view setting code | Brian Paul | 2012-08-06 | 1 | -68/+56 |
| | | | | | | | | Less code. And as with softpipe, if/when we consolidate the pipe_context functions for binding sampler state, this will make the llvmpipe changes trivial. Reviewed-by: José Fonseca <[email protected]> | ||||
* | llvmpipe: combine vertex/fragment sampler state into an array | Brian Paul | 2012-08-06 | 8 | -42/+41 |
| | | | | | | This will allow code consolidation in the next patch. Reviewed-by: José Fonseca <[email protected]> | ||||
* | softpipe: consolidate vert/frag/geom sampler setting functions | Brian Paul | 2012-08-06 | 1 | -112/+54 |
| | | | | | | | | | | | | The functions for setting samplers and sampler views for vertex, fragment and geometry shaders were nearly identical. Now they use shared code. In the future, if the pipe_context functions for setting samplers and sampler views for vert/frag/geom/compute are combined, this will make updating the softpipe driver a snap. Reviewed-by: José Fonseca <[email protected]> | ||||
* | softpipe: consolidate sampler-related arrays | Brian Paul | 2012-08-06 | 6 | -121/+99 |
| | | | | | | | | | | Combine separate arrays for vertex/fragment/geometry samplers, etc into one array indexed by PIPE_SHADER_x. This allows us to collapse separate code for vertex/fragment/geometry state into loops over the shader stage. More to come. Reviewed-by: José Fonseca <[email protected]> | ||||
* | softpipe: combine vert/frag/geom texture caches in an array | Brian Paul | 2012-08-06 | 5 | -91/+60 |
| | | | | | | This lets us consolidate some code now, and more in subsequent patches. Reviewed-by: José Fonseca <[email protected]> | ||||
* | util: Move dereference after null check in util_resource_copy_region. | Vinson Lee | 2012-08-04 | 1 | -3/+3 |
| | | | | | | | Fixes dereference before null check defect reported by Coverity. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Brian Paul <[email protected]> | ||||
* | i915g: silence a const pointer warning | Brian Paul | 2012-08-04 | 1 | -1/+1 |
| | |||||
* | radeonsi: fix build failure after blitter changes | Marek Olšák | 2012-08-04 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | gallium/u_blitter: add a query for checking whether copying is supported | Marek Olšák | 2012-08-04 | 4 | -37/+77 |
| | | | | v2: add comments | ||||
* | 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 | 4 | -15/+5 |
| | | | | Reviewed-by: Brian Paul <[email protected]> | ||||
* | gallium/u_blitter: add ability to blit only depth or only stencil | Marek Olšák | 2012-08-04 | 3 | -14/+17 |
| | | | | Reviewed-by: Brian Paul <[email protected]> | ||||
* | gallium: define PIPE_MASK_RGBAZS | Marek Olšák | 2012-08-04 | 1 | -0/+1 |
| | | | | | | I need this and it seems like it could be useful. Reviewed-by: Brian Paul <[email protected]> | ||||
* | gallium/u_blitter: minor cleanup | Marek Olšák | 2012-08-04 | 2 | -8/+8 |
| | | | | Reviewed-by: Brian Paul <[email protected]> | ||||
* | gallium/tgsi: fixup texture name strings | Marek Olšák | 2012-08-04 | 1 | -4/+4 |
| | | | | Reviewed-by: Brian Paul <[email protected]> | ||||
* | gallium/u_blitter: set sample mask to ~0 | Marek Olšák | 2012-08-04 | 2 | -0/+20 |
| | | | | Reviewed-by: Brian Paul <[email protected]> | ||||
* | gallium/u_blit: bail out if src is a multisample texture | Marek Olšák | 2012-08-04 | 1 | -0/+6 |
| | | | | Reviewed-by: Brian Paul <[email protected]> | ||||
* | gallium/u_blit: check nr_samples before using resource_copy_region | Marek Olšák | 2012-08-04 | 1 | -1/+2 |
| | | | | Reviewed-by: Brian Paul <[email protected]> | ||||
* | gallium: set sample mask to ~0 for clear, blit and gen_mipmap | Marek Olšák | 2012-08-04 | 4 | -1/+23 |
| | | | | | | | The sample mask affects single-sampled rendering too (it's orthogonal to the color mask). Reviewed-by: Brian Paul <[email protected]> | ||||
* | r600g: fix F2U opcode translation | Dave Airlie | 2012-08-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Marek Olšák <[email protected]> | ||||
* | draw: Ensure channel in convert_to_soa is initialized. | Vinson Lee | 2012-08-03 | 1 | -1/+1 |
| | | | | | | | Fixes uninitialized pointer read defect reported by Coverity. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Brian Paul <[email protected]> | ||||
* | u_blitter: Move a pointer dereference after null check. | Vinson Lee | 2012-08-03 | 1 | -2/+3 |
| | | | | | | | Fixes dereference before null check defect reported by Coverity. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | Use C99 NAN and INFINITY macros | Matt Turner | 2012-08-03 | 1 | -10/+3 |
| | |||||
* | gallium/tests/trivial: updates for CSO interface changes | Brian Paul | 2012-08-03 | 1 | -2/+2 |
| | |||||
* | st/xorg: updates for CSO interface changes | Brian Paul | 2012-08-03 | 2 | -7/+9 |
| | |||||
* | st/xa: updates for CSO interface changes | Brian Paul | 2012-08-03 | 4 | -9/+9 |
| | |||||
* | vega: fix build breakage from cso sampler/view changes | Brian Paul | 2012-08-03 | 1 | -17/+17 |
| | |||||
* | cso: remove unreachable break statements | Brian Paul | 2012-08-03 | 1 | -5/+0 |
| | |||||
* | cso: 80-column wrapping, remove trailing whitespace, etc | Brian Paul | 2012-08-03 | 1 | -33/+54 |
| | |||||
* | gallium: consolidate CSO sampler and sampler_view functions | Brian Paul | 2012-08-03 | 7 | -254/+150 |
| | | | | | | | | | | | | | Merge the vertex/fragment versions of the cso_set/save/restore_samplers() functions. Now we pass the shader stage (PIPE_SHADER_x) to the function to indicate vertex/fragment/geometry samplers. For example: cso_single_sampler(cso, PIPE_SHADER_FRAGMENT, unit, sampler); This results in quite a bit of code reduction, fewer CSO functions and support for geometry shaders. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeon/llvm: Add $(LLVM_LDFLAGS) to the loader linker flags | Tom Stellard | 2012-08-02 | 1 | -1/+1 |
| | |||||
* | radeon/llvm: Add support for more f32 CMP instructions on SI | Tom Stellard | 2012-08-02 | 1 | -5/+15 |
| | |||||
* | radeon/llvm: Add support for fneg on SI | Tom Stellard | 2012-08-02 | 2 | -0/+16 |
| | |||||
* | radeon/llvm: Add support for fp_to_sint on SI | Tom Stellard | 2012-08-02 | 1 | -1/+3 |
| | |||||
* | radeon/llvm: Remove CMOVLOG DAG node | Tom Stellard | 2012-08-02 | 6 | -75/+9 |
| | |||||
* | radeonsi: Properly initialize si_shader_ctx.radeon_bld | Tom Stellard | 2012-08-02 | 1 | -0/+1 |
| | |||||
* | radeonsi: Handle TGSI TXP opcode. | Michel Dänzer | 2012-08-02 | 1 | -2/+24 |
| | | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeonsi: Handle TGSI DIV opcode. | Michel Dänzer | 2012-08-02 | 1 | -0/+5 |
| | | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | svga: remove questionable INLINE qualifiers | Brian Paul | 2012-08-02 | 1 | -2/+2 |
| | |||||
* | svga: sort #includes | Brian Paul | 2012-08-02 | 1 | -4/+4 |
| | |||||
* | svga: add some comments in svga_screen_cache.c | Brian Paul | 2012-08-02 | 1 | -1/+14 |
| | |||||
* | svga: whitespace, formatting fixes | Brian Paul | 2012-08-02 | 1 | -52/+54 |
| | |||||
* | svga: remove unneeded 'struct svga_screen' declarations | Brian Paul | 2012-08-02 | 2 | -2/+0 |
| |