Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | radeon/llvm: Remove IOExpansion files | Tom Stellard | 2012-04-25 | 15 | -4048/+0 |
| | |||||
* | radeon/llvm: Remove AMDILPointerManager.cpp | Tom Stellard | 2012-04-25 | 10 | -2789/+0 |
| | |||||
* | radeonsi/llvm: Fix initialization of SIMachineFunctionInfo | Tom Stellard | 2012-04-25 | 1 | -4/+4 |
| | | | | | SIMachineFunctionInfo needs to be initialized before any of the AMDIL passes. | ||||
* | nv50: fix typo in nv50_fragprog_assign_slots | Christoph Bumiller | 2012-04-24 | 1 | -1/+1 |
| | |||||
* | nv50,nvc0: handle new vertex fetch caps | Christoph Bumiller | 2012-04-24 | 3 | -0/+13 |
| | |||||
* | nv50,nvc0: don't initialize the draw module, we don't use it | Christoph Bumiller | 2012-04-24 | 6 | -4/+26 |
| | | | | But some day we might (e.g. for blending 16 bpp formats on nv50). | ||||
* | nv50: enable shader watchdog timer | Christoph Bumiller | 2012-04-24 | 1 | -0/+5 |
| | |||||
* | radeonsi: stop using u_vbuf and adapt to gallium interface changes | Marek Olšák | 2012-04-24 | 11 | -98/+100 |
| | |||||
* | r600g: move updating vertex buffer state into set_vertex_buffers | Marek Olšák | 2012-04-24 | 2 | -11/+7 |
| | |||||
* | gallium: make user vertex buffers optional | Marek Olšák | 2012-04-24 | 10 | -56/+12 |
| | | | | | | | | | | | This couldn't be split because it would break bisecting. Summary: * r300g,r600g: stop using u_vbuf * r300g,r600g: also report that the FIXED vertex type is unsupported * u_vbuf: refactor for use in the state tracker * cso: wire up u_vbuf with cso_context * st/mesa: conditionally install u_vbuf | ||||
* | i915g: report that all vertex formats are supported | Marek Olšák | 2012-04-24 | 1 | -1/+3 |
| | | | | So that u_vbuf isn't enabled. | ||||
* | r600g: don't share u_upload_mgr with u_vbuf, create its own | Marek Olšák | 2012-04-24 | 4 | -4/+15 |
| | |||||
* | r300g: don't share u_upload_mgr with u_vbuf, create its own | Marek Olšák | 2012-04-24 | 4 | -4/+10 |
| | |||||
* | u_vbuf: pull u_vbuf_draw_max_vertex_count into r300g | Marek Olšák | 2012-04-24 | 1 | -1/+50 |
| | |||||
* | u_vbuf: make use of the new CAPs to determine what to do | Marek Olšák | 2012-04-24 | 3 | -10/+23 |
| | | | | | | | This adds the ability to initialize u_vbuf_caps before creating u_vbuf itself. It will be useful for determining if u_vbuf should be used or not. Also adapt r300g and r600g. | ||||
* | gallium drivers: report that user vertex buffers are supported | Marek Olšák | 2012-04-24 | 7 | -0/+12 |
| | |||||
* | u_vbuf: remove u_vbuf_resource | Marek Olšák | 2012-04-24 | 19 | -168/+165 |
| | |||||
* | gallium: add user_ptr in pipe_resource | Marek Olšák | 2012-04-24 | 9 | -0/+11 |
| | | | | I need to access the pointer in st/mesa when I only have pipe_resource. | ||||
* | u_vbuf: override draw_vbo | Marek Olšák | 2012-04-24 | 2 | -7/+1 |
| | |||||
* | u_vbuf: override create/bind/destroy_vertex_elements_state | Marek Olšák | 2012-04-24 | 6 | -26/+6 |
| | |||||
* | u_vbuf: override set_vertex_buffers | Marek Olšák | 2012-04-24 | 10 | -39/+36 |
| | |||||
* | u_vbuf: override set_index_buffer | Marek Olšák | 2012-04-24 | 5 | -26/+31 |
| | | | | This makes u_vbuf_mgr call the driver instead of the other way around. | ||||
* | r300g/automake: add $ARCH_FLAGS and $OPT_FLAGS | Marek Olšák | 2012-04-23 | 1 | -0/+2 |
| | | | | Reviewed-by: Tom Stellard <[email protected]> | ||||
* | r600g/automake: add $ARCH_FLAGS and $OPT_FLAGS | Marek Olšák | 2012-04-23 | 1 | -0/+2 |
| | | | | Reviewed-by: Tom Stellard <[email protected]> | ||||
* | r600g: init vars to silence warnings | Brian Paul | 2012-04-23 | 1 | -2/+2 |
| | |||||
* | radeon/llvm: Don't print an error message when there is no error | Tom Stellard | 2012-04-23 | 1 | -2/+1 |
| | | | | | A blank line with an empty error message was being printed even when the target lookup succeeded. | ||||
* | radeon/llvm: Lower VCREATE_v4f32 for R600 and SI | Tom Stellard | 2012-04-23 | 5 | -33/+22 |
| | |||||
* | r600g/llvm: Let ISel handle lowering to {INSERT,EXTRACT}_SUBREG | Tom Stellard | 2012-04-23 | 6 | -88/+37 |
| | |||||
* | r600g/llvm: Only emit an instruction's explicit operands | Tom Stellard | 2012-04-23 | 1 | -2/+2 |
| | |||||
* | r600g/llvm: Handle copies between vector registers | Tom Stellard | 2012-04-23 | 2 | -2/+21 |
| | |||||
* | r600g/llvm: Remove debugging hack from R600InstrInfo::copyPhysReg() | Tom Stellard | 2012-04-23 | 1 | -4/+0 |
| | |||||
* | r600g/llvm: Tell the code emitter to ignore KILL and BUNDLE | Tom Stellard | 2012-04-23 | 1 | -1/+3 |
| | |||||
* | r600/llvm: Add LOAD_VTX instruction | Tom Stellard | 2012-04-23 | 1 | -0/+13 |
| | |||||
* | r600g: Add hooks for the LLVM shader compiler | Tom Stellard | 2012-04-23 | 3 | -2/+304 |
| | | | | | | | | | The LLVM backend can now be enabled for r600g by using the --enable-r600-llvm-compiler configure flag. If you configure with this flag, you can still use the default compiler by setting the envrionment variable R600_USE_LLVM=0 Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: Add TGSI->LLVM implementation v2 | Tom Stellard | 2012-04-23 | 2 | -0/+330 |
| | | | | | | v2: Add case for ARUBA in r600_llvm_gpu_string() Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeon: Move radeon_llvm_emit.cpp declarations into their own header | Tom Stellard | 2012-04-23 | 5 | -19/+58 |
| | | | | Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeon: Remove HAVE_LLVM ifdefs | Tom Stellard | 2012-04-23 | 1 | -10/+0 |
| | | | | | | Only LLVM 3.1 is supported, so these are not necessary. Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: fix gpr number calculation | Vadim Girlin | 2012-04-23 | 1 | -0/+3 |
| | | | | | Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Tom Stellard <[email protected]> | ||||
* | r600g: split add_reg into add_reg and add_reg_bo variants | Dave Airlie | 2012-04-23 | 4 | -215/+193 |
| | | | | | | | | | This shaves 2k off the final dri.so, and removes lots of pointless NULL, 0 passing. most like pointless - but it looked nicer to me. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: enable GLSL130 on all cards | Dave Airlie | 2012-04-22 | 1 | -3/+2 |
| | | | | | | | | Alexandre Demers sent me some cayman results with no major problems. I'll rip out the env var in a week or so. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: enable dual src blending on r600 cards | Dave Airlie | 2012-04-21 | 1 | -1/+1 |
| | | | | | | tested on my rv610 and it passes the tests with no hangs. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: enable GLSL 1.30 for r600 class | Dave Airlie | 2012-04-21 | 1 | -1/+1 |
| | | | | | | | | | Full piglit run on my rv610 with no regressions. This only leaves cayman, however my cayman is resisting my attempt to get through a full piglit run. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600: enable glsl 1.30 on r700 | Dave Airlie | 2012-04-21 | 1 | -1/+1 |
| | | | | | | | | I've done a piglit run on rv740 and confirmed no regressions. We don't get GL3 on r700 due to transform feedback being busted still. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: report INTEGERS cap if glsl130 is on. | Dave Airlie | 2012-04-20 | 1 | -1/+2 |
| | | | | | | | | | This cap is used by u_blitter to decide if it can use integers in vertex data. fixes some crashes with glsl130 in piglit Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: enable glsl 130 on evergreen. | Dave Airlie | 2012-04-20 | 1 | -1/+3 |
| | | | | | | | | | | | | I've done a piglit run on my SUMO machine and I see no regressions. Lots of things to fix (skip->fail), but hey maybe we can fix them if we can see them. I'll try and work my way across r600,700,cayman sometime if nobody else gets to them. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: disable I2F conversion for InstanceID if integers are supported | Vadim Girlin | 2012-04-20 | 1 | -11/+16 |
| | | | | | | Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: store glsl_feature_level in the r600_screen | Vadim Girlin | 2012-04-20 | 2 | -1/+3 |
| | | | | | | Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Signed-off-by: Dave Airlie <[email protected]> | ||||
* | radeonsi: Fix VGPR_BIT() definition. | Michel Dänzer | 2012-04-19 | 1 | -1/+1 |
| | | | | | | | | Fixes encoding of VOP3 shader instructions. The shift was wrong for source registers 2 and 3, and the resulting value was only 32 bits, so the shift in SICodeEmitter::VOPPostEncode() didn't work as intended. | ||||
* | radeonsi: Replace magic numbers for vertex buffer resource. | Michel Dänzer | 2012-04-19 | 1 | -4/+8 |
| | |||||
* | radeonsi: (User) SGPR related cleanups. | Michel Dänzer | 2012-04-19 | 3 | -16/+33 |
| | | | | | | Use the same user SGPRs for the same purpose in vertex and pixel shaders. Better calculation of the number of SGPRs to reserve. |