summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
Commit message (Collapse)AuthorAgeFilesLines
* r600g: Fix SCons build.Vinson Lee2010-07-231-5/+2
|
* r600g: fix dp2, dp3, dp4 tokensJerome Glisse2010-07-231-23/+64
| | | | | | We need to make sure dp are all mirror accross the alu unit. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: add RSQ token supportJerome Glisse2010-07-231-2/+28
| | | | | | | Could serve as an example on how to add more token support. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: drop compiler stuff and switch over dumb tgsi assemblerJerome Glisse2010-07-2316-3323/+1277
| | | | | | | | | | Writing a compiler is time consuming and error prone in order to allow r600g to further progress in the meantime i wrote a simple tgsi assembler, it does stupid thing but i would rather keep the code simple than having people trying to optimize code it does. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: add support for all R6XX/R7XX asicJerome Glisse2010-07-214-87/+316
| | | | | | | This configure some of the value properly based on asic so others asic than RV710 works too. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: add r600 compile mode to compiler.Dave Airlie2010-07-214-13/+106
| | | | | | some of the ALU instructions are different on r6xx vs r7xx, separate the alu translation to separate files, and use family to pick which compile stage to use.
* r600g: add family retrivalDave Airlie2010-07-212-1/+9
| | | | allow pipe driver to get the family of the gpu.
* r600g: split trans unit computationJerome Glisse2010-07-202-7/+23
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* 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