summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* r600g: set the flush callback in radeon_winsysMarek Olšák2011-08-163-5/+20
| | | | | | I have also renamed the winsys function. Reviewed-by: Alex Deucher <[email protected]>
* r600g: emit CS using radeon_winsysMarek Olšák2011-08-161-2/+2
| | | | Reviewed-by: Alex Deucher <[email protected]>
* r600g: remove struct r600_relocMarek Olšák2011-08-161-13/+2
| | | | | | That is really private to winsys/radeon. Reviewed-by: Alex Deucher <[email protected]>
* r600g: let radeon_winsys maintain the list of relocationsMarek Olšák2011-08-161-1/+2
| | | | Reviewed-by: Alex Deucher <[email protected]>
* r600g: remove now-unused r600_context::fenced_boMarek Olšák2011-08-161-1/+1
| | | | Reviewed-by: Alex Deucher <[email protected]>
* r600g: put radeon_winsys in screen::winsys, don't include drm_driver in the pipeMarek Olšák2011-08-166-31/+34
| | | | Reviewed-by: Alex Deucher <[email protected]>
* r600g: cleanup includes in winsysMarek Olšák2011-08-162-8/+2
| | | | Reviewed-by: Alex Deucher <[email protected]>
* r600g: first step into winsys/radeonMarek Olšák2011-08-163-3/+9
| | | | Reviewed-by: Alex Deucher <[email protected]>
* r600g: Add support for ROUND, v2Lauri Kasanen2011-08-102-3/+5
| | | | | | This is a GLSL 1.3 feature, but also used by MLAA. Signed-off-by: Lauri Kasanen <[email protected]>
* r300g: silence some warnings about uninitialized variablesBrian Paul2011-08-093-6/+8
|
* svga: add missing switch case for PIPE_SHADER_CAP_INTEGERSBrian Paul2011-08-091-0/+2
|
* nv50,nvc0: never convert in resource copy when format sizes matchChristoph Bumiller2011-08-072-2/+16
| | | | | | | If there are any cases left where the st thinks that RGBA -> BGRA will swap components, it will get what it deserves. Now the GPU's 2D engine goes unused. What a shame.
* winsys/radeon: fix space checkingMarek Olšák2011-08-051-2/+1
| | | | | | | We should remove the relocations which caused a validation failure from the list, so that the kernel receives only the validated ones. NOTE: This is a candidate for the 7.11 branch.
* r300g: handle new CAPsMarek Olšák2011-08-051-9/+4
|
* r300g: adapt to the resource_resolve interface changeMarek Olšák2011-08-051-21/+22
|
* Merge branch 'glsl-to-tgsi'Bryan Cain2011-08-048-0/+16
|\ | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_atom_pixeltransfer.c src/mesa/state_tracker/st_program.c
| * gallium: add PIPE_SHADER_CAP_INTEGERSBryan Cain2011-08-018-0/+16
| |
* | nv50: implement resource_resolve with custom blitChristoph Bumiller2011-08-048-11/+559
| |
* | r600g: remove more of unused codeMarek Olšák2011-08-041-13/+0
| | | | | | | | This is a follow-up to f6df430a85141f6a384c18079fb5b2ad848dac0d.
* | r600g: take into account force_add_cf in popsVadim Girlin2011-08-031-15/+24
| | | | | | | | | | | | | | | | | | | | | | When we have two ENDIFs in a row, we shouldn't modify the pop_count for the same alu clause twice. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38163 Note: this is a candidate for the 7.11 branch. Signed-off-by: Alex Deucher <[email protected]>
* | r600g: use backend mask for occlusion queriesVadim Girlin2011-08-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Use backend_map kernel query if supported, otherwise analyze ZPASS_DONE results to get the mask. Fixes lockups with predicated rendering due to incorrect query buffer initialization on some cards. Note: this is a candidate for the 7.11 branch. Signed-off-by: Vadim Girlin <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* | r600g: remove dummy function r600_bo_offsetMarek Olšák2011-08-024-26/+22
| | | | | | | | Always returned 0.
* | r600g: remove unused codeMarek Olšák2011-08-021-1/+0
| |
* | gallium/util: add functions for manipulating swizzlesMarek Olšák2011-08-025-41/+6
| | | | | | | | Some of those have been in drivers already.
* | r600g: fix up vs export handlingAlex Deucher2011-07-294-4/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | Certain attributes (position, psize, etc.) don't count as params; they are handled separately by the hw. However, the VS is required to export at least one param and r600_shader_from_tgsi() takes care of adding a dummy export if there is none. Make sure the VS param export count in the SPI properly accounts for this. Note: This is a candidate for the 7.11 branch. Signed-off-by: Alex Deucher <[email protected]>
* | softpipe: When doing write_all_cbufs, don't stomp over the color.Eric Anholt2011-07-281-4/+12
| | | | | | | | | | | | | | We have to make it through this loop processing the color multiple times, so we can't go overwriting it on our first color buffer. Reviewed-by: Brian Paul <[email protected]>
* | r600g: fix vs export countVadim Girlin2011-07-282-2/+2
| | | | | | | | | | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=39572 Signed-off-by: Vadim Girlin <[email protected]>
* | r300g: copy the compiler from r300cMarek Olšák2011-07-2669-25/+17038
| | | | | | | | | | | | | | | | What a beast. r300g doesn't depend on files from r300c anymore, so r300c is now left to its own fate. BTW 'make test' can be invoked from the gallium/r300 directory to run some compiler unit tests.
* | winsys/radeon: remove usage parameter from buffer_createMarek Olšák2011-07-254-6/+3
| |
* | winsys/radeon: add R300 infix to winsys feature namesMarek Olšák2011-07-253-3/+3
| |
* | winsys/radeon: simplify how value queries workMarek Olšák2011-07-258-43/+32
| | | | | | | | | | This drops the get_value query and adds a function query_info, which returns all the values in one nice structure.
* | r600g: use file_max instead of file_count to determine reg offsetChristian König2011-07-241-3/+3
| | | | | | | | | | | | Otherwise shaders with skipped inputs/outputs doesn't work correctly. Signed-off-by: Christian König <[email protected]>
* | gallium/softpipe: Don't clobber dest color/alpha before masking.Younes Manton2011-07-231-89/+96
| | | | | | | | | | | | | | | | | | The blend_quad function clobbers the actual render target color/alpha values while applying the destination blend factor, which results in restoring the wrong value during the masking stage for write-disabled channels. Reviewed-by: Brian Paul <[email protected]>
* | llvmpipe: Unit tests for arithmetic functions.José Fonseca2011-07-223-2/+298
| | | | | | | | | | | | Conflicts: src/gallium/drivers/llvmpipe/SConscript
* | Merge branch 'gallium-polygon-stipple'Brian Paul2011-07-2116-148/+383
|\ \
| * | softpipe: use the polygon stipple utility moduleBrian Paul2011-07-219-14/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an alternative to the draw module's polygon stipple stage. The softpipe implementation here is just a test. The advantange of using the new polygon stipple utility module (with other drivers) is we can avoid software vertex processing in the draw module and get much better performance. Polygon stipple doesn't require special vertex processing like the other draw module stage.
| * | softpipe: implement fragment shader variantsBrian Paul2011-07-2113-117/+251
| | | | | | | | | | | | We'll need shader variants to accomodate the new polygon stipple utility.
| * | softpipe: use tgsi_shader_info fields for fragcoord origin, center, etc.Brian Paul2011-07-214-17/+5
| | |
| * | softpipe: remove obsolete commentBrian Paul2011-07-211-4/+0
| | |
| * | softpipe: rename a functionBrian Paul2011-07-211-7/+7
| | |
* | | nouveau: hook up video decoding with nouveau_contextChristoph Bumiller2011-07-218-1/+56
| | | | | | | | | | | | | | | This doesn't include nvfx since its context struct is not derived from common nouveau_context (yet).
* | | llvmpipe: include LLVM version number in name stringBrian Paul2011-07-191-1/+3
| | |
* | | llvmpipe: fix build with LLVM 3.0svnTobias Droste2011-07-191-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | LLVM 3.0svn introduced a new type system. It defines a new way to create named structs and removes the (now not needed) LLVMInvalidateStructLayout function. See revision 134829 of LLVM. Signed-off-by: Tobias Droste <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* | | r600g: Get rid of leftover PB_USAGE_* flags.Henri Verbeet2011-07-182-26/+2
| | | | | | | | | | | | | | | | | | | | | These happen to work because their values are the same as the equivalent PIPE_TRANSFER_* flags, but it's still misleading. Signed-off-by: Henri Verbeet <[email protected]>
* | | nv50: fix bogus error message about 3d surfacesChristoph Bumiller2011-07-161-1/+3
| | |
* | | r600g: fix queries and predicationVadim Girlin2011-07-152-11/+23
| | | | | | | | | | | | | | | | | | | | | Use all zpass data for predication instead of the last block only. Use query buffer as a ring instead of reusing the same area for each new BeginQuery. All query buffer offsets are in bytes to simplify offsets math.
* | | i915g: move declaration before codeBrian Paul2011-07-141-1/+2
| | |
* | | nv50,nvc0: extensive surface format renaming to get consistencyChristoph Bumiller2011-07-148-191/+220
| | | | | | | | | | | | Now the component ordering is consistent and matches gallium again.
* | | nv50,nvc0: add support for multi-sample resourcesChristoph Bumiller2011-07-1423-213/+308
| | |
* | | nv50,nvc0: add correct storage type for Z32_FLOATChristoph Bumiller2011-07-142-0/+9
| | |