summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
Commit message (Collapse)AuthorAgeFilesLines
* r600: use gallium list macros instead of making our own.Dave Airlie2010-07-027-109/+96
| | | | | | | | | before this change, r600 glxinfo segfaulted in the list code, and I wasn't debugging another linked list implementation, its 2010 after all. So add the two missing list macros to the gallium header from X.org list header file (after fixing them), then port all r600 lists to the new header. Signed-off-by: Dave Airlie <[email protected]>
* Merge branch 'gallium-drm-driver-drescriptor'Jakob Bornecrantz2010-06-285-5/+13
|\ | | | | | | | | | | | | | | | | Conflicts: src/gallium/state_trackers/egl/x11/native_dri2.c src/gallium/state_trackers/egl/x11/native_x11.c src/gallium/state_trackers/egl/x11/native_x11.h src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/radeon/drm/radeon_drm.c
| * r600g: Move bootstrap code to targetJakob Bornecrantz2010-06-245-5/+13
| |
* | r600g: save vertex buffers in blitterMarek Olšák2010-06-091-0/+3
| |
* | gallium: adjust the query interface to support custom typesZack Rusin2010-06-081-1/+1
| | | | | | | | we need to change it to support composite types
* | r600g: Remove unnecessary header.Vinson Lee2010-06-071-1/+0
|/
* r600g: add shader literal constant supportJerome Glisse2010-06-063-14/+75
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: split instruction into scalarJerome Glisse2010-06-054-147/+142
| | | | | | | Split instruction into scalar in core compiler this simplify the way we translate the instruction in latter stage. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: implement clear_{render_target, depth_stencil}, resource_copy_regionMarek Olšák2010-06-041-0/+17
| | | | | resource_copy_region uses a software fallback because it relies on texture samplers which haven't been implemented yet.
* r600g: make blit functions static (private)Marek Olšák2010-06-044-54/+34
|
* r600g: use cast wrappersMarek Olšák2010-06-047-35/+51
|
* r600g: Move declaration before code.Vinson Lee2010-06-031-1/+2
| | | | Fixes SCons build.
* r600g: added code for depthtestingBas Nieuwenhuizen2010-06-031-5/+24
| | | | - added code to configure the depth buffer and to set up depth testing.
* r600g: adapt to interface changesRoland Scheidegger2010-06-033-22/+45
| | | | | r600g should be able to handle separate depth stencil clears as well. Also adapt surface_fill/copy stubs to new interface (not that it matters).
* scons: Handle Python OSError exception when missing libdrm_radeon.Vinson Lee2010-06-031-1/+5
| | | | | Instead of crashing when libdrm_radeon is unavailable, the SCons build just does not build r600g.
* r600g: remove unused struct r600_stateMarek Olšák2010-05-312-20/+0
| | | | What was the purpose of it?
* r600g: Remove unnecessary headers.Vinson Lee2010-05-305-5/+0
|
* r600g: fix gallium function parametersMarek Olšák2010-05-293-12/+13
|
* r600g: make a local copy of viewport stateMarek Olšák2010-05-293-3/+3
|
* r600g: disable renderingJerome Glisse2010-05-271-2/+7
| | | | | | | | | | | Disable rendering to avoid GPU lockup. Use radeondb to debug shader compiler : radeondb -c gallium.bof radeondb -s gallium.json Will print shader generated, best is to use fp demos to test the compiler. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: various fixesBas Nieuwenhuizen2010-05-278-25/+26
| | | | | | | | | - enabled flushing a buffer more than once - enabled the blitter for r600_clear - added some more colors to r600_is_format_supported (copied from r600_conv_pipe_format) - r600_set_framebuffer_state now sets rctx->fb_state - more states are saved before a blit (had to add some accounting for the viewport and the vertex elements state) - fixed a few errors with reference counting
* r600g: fix driver + shader compiler backend changeJerome Glisse2010-05-277-384/+632
| | | | | | | | Change the way we translate from c_compiler to the asic specific representation. Should make things simpler. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: Integrate into buildJakob Bornecrantz2010-05-271-0/+3
| | | | Signed-off-by: Jakob Bornecrantz <[email protected]>
* r600g: Fix buffer offsetsJakob Bornecrantz2010-05-271-2/+2
| | | | Signed-off-by: Jakob Bornecrantz <[email protected]>
* r600g: adapt to latest interfaces changesMarek Olšák2010-05-2715-232/+490
| | | | | | | | | | | | | | | | | - Wrapped the buffer and texture create/destroy/transfer/... functions using u_resource, which is then used to implement the resource functions. - Implemented texture transfers. I left the buffer and texture transfers separate because one day we'll need a special codepath for textures. - Added index_bias to the draw_*elements functions. - Removed nonexistent *REP and *FOR instructions. - Some pipe formats have changed channel ordering, so I've removed/fixed nonexistent ones. - Added stubs for create/set/destroy sampler views. - Added a naive implementation of vertex elements state (new CSO). - Reworked {texture,buffer}_{from,to}_handle. - Reorganized winsys files, removed dri,egl,python directories. - Added a new build target dri-r600.
* r600g: Initial importJerome Glisse2010-05-2726-0/+7616