summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
Commit message (Collapse)AuthorAgeFilesLines
* u_blitter: rename util_blitter_copy_region -> util_blitter_copy_textureMarek Olšák2011-08-161-2/+2
|
* r600g: consolidate two files r600d.hMarek Olšák2011-08-161-1/+55
|
* r600g: set read/write usage flags for each relocationMarek Olšák2011-08-165-505/+531
| | | | | | This takes advantage of the new GEM_WAIT ioctl when mapping buffers. Reviewed-by: Alex Deucher <[email protected]>
* r600g: enable thread offloadingMarek Olšák2011-08-163-5/+9
| | | | Reviewed-by: Alex Deucher <[email protected]>
* r600g: undefine RADEON_CTX_MAX_PM4Marek Olšák2011-08-161-2/+0
| | | | | | winsys/radeon has its own definition. Reviewed-by: Alex Deucher <[email protected]>
* r600g: don't include radeon_drm.h and xf86drm.hMarek Olšák2011-08-161-3/+0
| | | | Reviewed-by: Alex Deucher <[email protected]>
* r600g: remove an unused parameter from r600_bo_destroyMarek Olšák2011-08-167-14/+11
| | | | Reviewed-by: Alex Deucher <[email protected]>
* r600g: merge radeon_bo with r600_boMarek Olšák2011-08-161-1/+1
| | | | Reviewed-by: Alex Deucher <[email protected]>
* r600g: use buffer_map/unmap from radeon_winsysMarek Olšák2011-08-166-10/+13
| | | | | | This also drops the unneeded bo_busy/wait functions. Reviewed-by: Alex Deucher <[email protected]>
* r600g: set the flush callback in radeon_winsysMarek Olšák2011-08-162-4/+19
| | | | | | 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]>
* Merge branch 'glsl-to-tgsi'Bryan Cain2011-08-041-0/+2
|\ | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_atom_pixeltransfer.c src/mesa/state_tracker/st_program.c
| * gallium: add PIPE_SHADER_CAP_INTEGERSBryan Cain2011-08-011-0/+2
| |
* | 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-021-5/+1
| | | | | | | | 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]>
* | 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]>
* | 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]>
* | 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]>
* | 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.
* | Merge branch 'pipe-video'Christian König2011-07-131-0/+24
|\ \
| * | r600g: reenable hardware blits for STATIC and IMMUTABLE resourcesChristian König2011-07-131-10/+8
| | | | | | | | | | | | Getting the driver in sync with mainline.
| * | r600g: revert "set BLEND_CLAMP depending on clamp_fragment_color"Christian König2011-07-131-8/+3
| | | | | | | | | | | | BLEND_CLAMP doesn't seems to be the right way to implement "ARB_color_buffer_float".
| * | [g3dvl] add some more PIPE_VIDEO_CAPsChristian König2011-07-121-0/+5
| | |
| * | r600g: revert "support textures with scaled number formats"Christian König2011-07-111-1/+1
| | | | | | | | | | | | We should add those probably when merged to master.
| * | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-07-1118-1509/+1411
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_pipe.c src/gallium/drivers/r600/r600_state_inlines.h
| * | | [g3dvl] and finally remove pipe_video_contextChristian König2011-07-081-10/+3
| | | |
| * | | [g3dvl] move video buffer creation out of video contextChristian König2011-07-081-0/+1
| | | |
| * | | [g3dvl] remove the unused priv member from pipe_video_contextChristian König2011-07-081-1/+1
| | | |
| * | | [g3dvl] make pipe_context mandatory for creation pipe_video_contextChristian König2011-07-084-55/+9
| | | |
| * | | [g3dvl] rename is_format_supported to is_video_format_supported and move it ↵Christian König2011-07-081-0/+2
| | | | | | | | | | | | | | | | into screen object
| * | | [g3dvl] rename get_param to get_video_param and move into screen objectChristian König2011-07-072-1/+14
| | | |
| * | | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-07-0417-246/+597
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac src/gallium/drivers/r600/r600_state_inlines.h src/gallium/tests/trivial/Makefile src/gallium/winsys/g3dvl/dri/XF86dri.c src/gallium/winsys/g3dvl/dri/driclient.c src/gallium/winsys/g3dvl/dri/driclient.h src/gallium/winsys/g3dvl/dri/xf86dri.h src/gallium/winsys/g3dvl/dri/xf86dristr.h src/gallium/winsys/r600/drm/r600_bo.c
| * \ \ \ Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-06-097-203/+190
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/tests/unit/u_format_test.c src/gallium/winsys/r600/drm/r600_hw_context.c
| * | | | | r600g: some merge fixesChristian König2011-06-052-3/+3
| | | | | |
| * | | | | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-06-0512-331/+1371
| |\ \ \ \ \
| * | | | | | r600g: revert commit 36b322dffd2429130f132f55f68acb1a23ba1658 for nowChristian König2011-05-221-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable scaled textures, since they didn't work 100% right now.
| * | | | | | r600g: fix "Fixed-Point Data Conversions"Christian König2011-05-212-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to OpenGL 3.1 chapter 2.1.5 the representation without zero should only be used for vertex attribute values, but not for textures or frame-buffers.
| * | | | | | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-05-156-11/+38
| |\ \ \ \ \ \