summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: consolidate the sampler and sampler view setting codeBrian Paul2012-08-061-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 arrayBrian Paul2012-08-068-42/+41
| | | | | | This will allow code consolidation in the next patch. Reviewed-by: José Fonseca <[email protected]>
* softpipe: consolidate vert/frag/geom sampler setting functionsBrian Paul2012-08-061-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 arraysBrian Paul2012-08-066-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 arrayBrian Paul2012-08-065-91/+60
| | | | | | This lets us consolidate some code now, and more in subsequent patches. Reviewed-by: José Fonseca <[email protected]>
* mesa: Fix off-by-one error in Parse_TextureImageId.Vinson Lee2012-08-041-1/+1
| | | | | | | Fixes out-of-bounds write defect reported by Coverity. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* util: Move dereference after null check in util_resource_copy_region.Vinson Lee2012-08-041-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 warningBrian Paul2012-08-041-1/+1
|
* radeonsi: fix build failure after blitter changesMarek Olšák2012-08-041-1/+1
|
* r600g: precompute color buffer state in pipe_surface and reuse itMarek Olšák2012-08-045-130/+175
|
* r600g: precompute depth buffer state in pipe_surface and reuse itMarek Olšák2012-08-043-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_surfaceMarek Olšák2012-08-041-20/+8
|
* r600g: drop the old texture allocation codeMarek Olšák2012-08-047-691/+233
| | | | Made obsolete by the libdrm surface allocator.
* r600g: make sure copying of all texture formats is acceleratedMarek Olšák2012-08-042-52/+54
|
* gallium/u_blitter: add a query for checking whether copying is supportedMarek Olšák2012-08-044-37/+77
| | | | v2: add comments
* r600g: don't decompress depth or stencil if there isn't anyMarek Olšák2012-08-044-9/+17
|
* r600g: correct texture memory size for Z32F_S8X24 on evergreenMarek Olšák2012-08-041-7/+16
|
* gallium/u_blitter: remove fallback for stencil copy that all drivers skippedMarek Olšák2012-08-044-15/+5
| | | | Reviewed-by: Brian Paul <[email protected]>
* gallium/u_blitter: add ability to blit only depth or only stencilMarek Olšák2012-08-043-14/+17
| | | | Reviewed-by: Brian Paul <[email protected]>
* gallium: define PIPE_MASK_RGBAZSMarek Olšák2012-08-041-0/+1
| | | | | | I need this and it seems like it could be useful. Reviewed-by: Brian Paul <[email protected]>
* gallium/u_blitter: minor cleanupMarek Olšák2012-08-042-8/+8
| | | | Reviewed-by: Brian Paul <[email protected]>
* gallium/tgsi: fixup texture name stringsMarek Olšák2012-08-041-4/+4
| | | | Reviewed-by: Brian Paul <[email protected]>
* gallium/u_blitter: set sample mask to ~0Marek Olšák2012-08-042-0/+20
| | | | Reviewed-by: Brian Paul <[email protected]>
* gallium/u_blit: bail out if src is a multisample textureMarek Olšák2012-08-041-0/+6
| | | | Reviewed-by: Brian Paul <[email protected]>
* gallium/u_blit: check nr_samples before using resource_copy_regionMarek Olšák2012-08-041-1/+2
| | | | Reviewed-by: Brian Paul <[email protected]>
* gallium: set sample mask to ~0 for clear, blit and gen_mipmapMarek Olšák2012-08-045-2/+26
| | | | | | | 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 translationDave Airlie2012-08-041-1/+1
| | | | Signed-off-by: Marek Olšák <[email protected]>
* draw: Ensure channel in convert_to_soa is initialized.Vinson Lee2012-08-031-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 Lee2012-08-031-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 macrosMatt Turner2012-08-031-10/+3
|
* gallium/tests/trivial: updates for CSO interface changesBrian Paul2012-08-031-2/+2
|
* st/xorg: updates for CSO interface changesBrian Paul2012-08-032-7/+9
|
* st/xa: updates for CSO interface changesBrian Paul2012-08-034-9/+9
|
* vega: fix build breakage from cso sampler/view changesBrian Paul2012-08-031-17/+17
|
* cso: remove unreachable break statementsBrian Paul2012-08-031-5/+0
|
* cso: 80-column wrapping, remove trailing whitespace, etcBrian Paul2012-08-031-33/+54
|
* gallium: consolidate CSO sampler and sampler_view functionsBrian Paul2012-08-0311-280/+179
| | | | | | | | | | | | | 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]>
* st/mesa: Ensure dst in compile_instruction is initialized.Vinson Lee2012-08-021-1/+1
| | | | | | | Fixes uninitialized scalar variable defect reported by Coverity. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* radeon/llvm: Add $(LLVM_LDFLAGS) to the loader linker flagsTom Stellard2012-08-021-1/+1
|
* radeon/llvm: Add support for more f32 CMP instructions on SITom Stellard2012-08-021-5/+15
|
* radeon/llvm: Add support for fneg on SITom Stellard2012-08-022-0/+16
|
* radeon/llvm: Add support for fp_to_sint on SITom Stellard2012-08-021-1/+3
|
* radeon/llvm: Remove CMOVLOG DAG nodeTom Stellard2012-08-026-75/+9
|
* radeonsi: Properly initialize si_shader_ctx.radeon_bldTom Stellard2012-08-021-0/+1
|
* radeonsi: Handle TGSI TXP opcode.Michel Dänzer2012-08-021-2/+24
| | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Tom Stellard <[email protected]>
* radeonsi: Handle TGSI DIV opcode.Michel Dänzer2012-08-021-0/+5
| | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Tom Stellard <[email protected]>
* svga: remove questionable INLINE qualifiersBrian Paul2012-08-021-2/+2
|
* svga: sort #includesBrian Paul2012-08-021-4/+4
|
* svga: add some comments in svga_screen_cache.cBrian Paul2012-08-021-1/+14
|
* svga: whitespace, formatting fixesBrian Paul2012-08-021-52/+54
|