Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | st/glsl_to_nir/radeonsi: enable tessellation shaders | Timothy Arceri | 2018-01-05 | 1 | -0/+2 |
| | | | | | Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: add dummy implementation of si_nir_scan_tess_ctrl() | Timothy Arceri | 2018-01-05 | 3 | -0/+23 |
| | | | | | Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/radeonsi: add load_tess_coord() to the abi | Timothy Arceri | 2018-01-05 | 1 | -17/+25 |
| | | | | | Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: make si_llvm_emit_tcs_epilogue compatible with emit_outputs abi | Timothy Arceri | 2018-01-05 | 1 | -3/+7 |
| | | | | | Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi/nir: gather tess properties | Timothy Arceri | 2018-01-05 | 1 | -0/+29 |
| | | | | | Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/radeonsi: add tcs_rel_ids to the abi | Timothy Arceri | 2018-01-05 | 2 | -10/+10 |
| | | | | | Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: add unpack_llvm_param() helper | Timothy Arceri | 2018-01-05 | 1 | -6/+12 |
| | | | | | | | | This allows us to pass the llvm param directly rather than looking it up. Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac: add {tcs,tes}_patch_id to the abi | Timothy Arceri | 2018-01-05 | 2 | -11/+8 |
| | | | | | Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: add nir support for tcs outputs | Timothy Arceri | 2018-01-05 | 1 | -0/+118 |
| | | | | | Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: add si_nir_load_input_tcs() | Timothy Arceri | 2018-01-05 | 1 | -0/+45 |
| | | | | | | V2: drop type param and just use ctx->i32 Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: add get_dw_address_from_generic_indices() helper | Timothy Arceri | 2018-01-05 | 1 | -30/+46 |
| | | | | | | | This will be used by both the tgsi and nir backends. Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac: add load_tes_inputs() to the abi | Timothy Arceri | 2018-01-05 | 1 | -0/+1 |
| | | | | | | V2: drop type param and just use ctx->i32 Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: add si_nir_load_input_tes() | Timothy Arceri | 2018-01-05 | 2 | -0/+59 |
| | | | | | | V2: drop type param and just use ctx->i32 Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: fix alpha-to-coverage if color writes are disabled | Józef Kucia | 2018-01-04 | 1 | -0/+3 |
| | | | | | | | | If alpha-to-coverage is enabled, we have to compute alpha even if color writes are disabled. Signed-off-by: Józef Kucia <[email protected]> Signed-off-by: Marek Olšák <[email protected]> | ||||
* | ac: rename has_sync_file to has_fence_to_handle. | Bas Nieuwenhuizen | 2018-01-04 | 2 | -3/+3 |
| | | | | | | | | | | | sync_files are in linux since 4.7, while the amdgpu fence_to_handle ioctl is only in 4.15. In particular we don't need it for sync_file in radv, because everything happens via syncobjs, which got support earlier than fence_to_handle. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: make use of ac_init_exec_full_mask() | Samuel Pitoiset | 2017-12-27 | 1 | -11/+3 |
| | | | | | | | Similar to si_init_exec_full_mask(). Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radv/radeonsi: set dcc min uncompressed properly for APUs. | Dave Airlie | 2017-12-27 | 1 | -0/+9 |
| | | | | | | | This is ported from amdvlk. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Dave Airlie <[email protected]> | ||||
* | amd/common/radv/radeonsi: use register defines for dcc block sizes. | Dave Airlie | 2017-12-27 | 1 | -3/+3 |
| | | | | | | | | These are just taken from amdvlk, we probably knew these already, but may as well port them now. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Dave Airlie <[email protected]> | ||||
* | radeonsi: don't use fast color clear for small images even on APUs | Marek Olšák | 2017-12-25 | 1 | -5/+4 |
| | | | | | | | | | | Increase the limit and handle non-square images better. This makes glxgears 20% faster on APUs, and a little more on dGPUs. We all use and love glxgears. Tested-by: Dieter Nützel <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | radeonsi: set PNT_SPRITE_ENA = point_quad_rasterization | Marek Olšák | 2017-12-25 | 1 | -1/+1 |
| | | | | This is based on how nvc0 translates the state. | ||||
* | gallium/util: add util_num_layers helper | Marek Olšák | 2017-12-25 | 1 | -1/+1 |
| | |||||
* | amd/common: add ac_export_mrt_z() helper | Samuel Pitoiset | 2017-12-22 | 1 | -60/+1 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | amd/common: pass the family to ac_llvm_context_init() | Samuel Pitoiset | 2017-12-22 | 1 | -1/+2 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | gallium: plumb context priority through to driver | Rob Clark | 2017-12-19 | 1 | -0/+1 |
| | | | | | | | | Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Andres Rodriguez <[email protected]> Reviewed-by: Wladimir J. van der Laan <[email protected]> | ||||
* | amd/common: add ac_vgt_gs_mode() helper | Samuel Pitoiset | 2017-12-18 | 1 | -29/+3 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | amd/common: add ac_get_cb_shader_mask() helper | Samuel Pitoiset | 2017-12-18 | 1 | -33/+1 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi: don't call force_dcc_off for buffers | Marek Olšák | 2017-12-16 | 1 | -1/+1 |
| | | | | | | | | This was undefined yet harmless behavior in LLVM. Not anymore - it causes a hang now. Cc: 17.3 <[email protected]> Tested-by: Michel Dänzer <[email protected]> | ||||
* | amd/common: add ac_build_waitcnt() | Samuel Pitoiset | 2017-12-14 | 3 | -15/+4 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi: make use of ac_build_fdiv() | Samuel Pitoiset | 2017-12-14 | 1 | -7/+1 |
| | | | | | | | And move the comment to amd/common. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi: make use of ac_get_spi_shader_z_format() | Samuel Pitoiset | 2017-12-14 | 3 | -23/+4 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> | ||||
* | radeonsi: create get_tcs_tes_buffer_address helper | Timothy Arceri | 2017-12-13 | 1 | -12/+32 |
| | | | | | | This will be shared between the NIR and TGSI backends. Reviewed-by: Nicolai Hähnle <[email protected]> | ||||
* | radeonsi: use a separate allocator for fine fences | Marek Olšák | 2017-12-06 | 1 | -1/+1 |
| | | | | | Tested-by: Dieter Nützel <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> | ||||
* | radeonsi/gfx9: make shader binaries use read-only memory | Marek Olšák | 2017-12-06 | 3 | -3/+9 |
| | | | | | Tested-by: Dieter Nützel <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> | ||||
* | radeonsi: print the buffer list for CHECK_VM | Marek Olšák | 2017-12-06 | 1 | -0/+1 |
| | | | | | Tested-by: Dieter Nützel <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> | ||||
* | radeonsi: pass llvm type directly to buffer_load() | Timothy Arceri | 2017-12-05 | 1 | -8/+7 |
| | | | | Reviewed-by: Nicolai Hähnle <[email protected]> | ||||
* | meson: define driver dependencies | Dylan Baker | 2017-12-04 | 1 | -0/+9 |
| | | | | | | | | | | | | This allow us to encapsulate the compiler and linkage requirements of each driver in a reusable way. The result will be that each target that needs a specific driver can simply add `driver_<name>` to its dependencies line and the necessary libraries and compiler args will be added. This will allow for a lot of code de-duplication between gallium targets. Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> | ||||
* | st/glsl_to_nir/radeonsi: enable gs support for nir backend | Timothy Arceri | 2017-12-04 | 2 | -29/+35 |
| | | | | | Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac: add si_nir_load_input_gs() to the abi | Timothy Arceri | 2017-12-04 | 3 | -0/+30 |
| | | | | | | | V2: make use of driver_location and don't expose NIR to the ABI. Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: create si_llvm_load_input_gs() | Timothy Arceri | 2017-12-04 | 2 | -23/+44 |
| | | | | | | | | | | This creates a common function that can be shared by the tgsi and nir backends. v2: use LLVMBuildBitCast() directly Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: pass llvm type to lds_load() | Timothy Arceri | 2017-12-04 | 1 | -13/+13 |
| | | | | | | | v2: use LLVMBuildBitCast() directly Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: add llvm_type_is_64bit() helper | Timothy Arceri | 2017-12-04 | 1 | -0/+9 |
| | | | | | Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: pass llvm type to si_llvm_emit_fetch_64bit() | Timothy Arceri | 2017-12-04 | 3 | -12/+18 |
| | | | | | | | v2: use LLVMBuildBitCast() directly Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: add nir support for gs epilogue | Timothy Arceri | 2017-12-04 | 1 | -4/+21 |
| | | | | | | | v2: add emit_gs_epilogue() helper function to reduce duplication. Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: add nir support for es epilogue | Timothy Arceri | 2017-12-04 | 1 | -16/+13 |
| | | | | | | | v2: make use of existing si_tgsi_emit_epilogue() Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: add nir support for ls epilogue | Timothy Arceri | 2017-12-04 | 1 | -15/+14 |
| | | | | | | | v2: make use of existing si_tgsi_emit_epilogue() Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | st/glsl_to_nir: enable NIR link time opts | Timothy Arceri | 2017-12-04 | 1 | -7/+27 |
| | | | | Reviewed-by: Nicolai Hähnle <[email protected]> | ||||
* | radeonsi/nir: add support for packed inputs | Timothy Arceri | 2017-12-04 | 1 | -21/+25 |
| | | | | | | | | | Because NIR can create non vec4 variables when implementing component packing we need to make sure not to reprocess the same slot again. Also we can drop the fs_attr_idx counter and just use driver_location. Reviewed-by: Nicolai Hähnle <[email protected]> | ||||
* | r300,r600,radeonsi: replace RADEON_FLUSH_* with PIPE_FLUSH_* | Marek Olšák | 2017-11-29 | 3 | -8/+8 |
| | | | | | | and handle PIPE_FLUSH_HINT_FINISH in r300. Reviewed-by: Nicolai Hähnle <[email protected]> | ||||
* | radeonsi: remove r600_common_screen | Marek Olšák | 2017-11-29 | 24 | -439/+503 |
| | | | | | | | | | | Most files in gallium/radeon now include si_pipe.h. chip_class and family are now here: sscreen->info.family sscreen->info.chip_class Reviewed-by: Nicolai Hähnle <[email protected]> | ||||
* | radeonsi: remove r600_pipe_common::barrier_flags::compute_to_L2 | Marek Olšák | 2017-11-29 | 1 | -2/+0 |
| | | | | Reviewed-by: Nicolai Hähnle <[email protected]> |