Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Attempt to fix the AppVeyor build | Nicolai Hähnle | 2017-07-31 | 2 | -4/+1 |
| | |||||
* | xmlconfig: move into src/util | Nicolai Hähnle | 2017-07-31 | 53 | -110/+124 |
| | | | | | | | | v2: attempt to fix Android build (Emil) v3: add missing include path Reviewed-by: Marek Olšák <[email protected]> (v1) | ||||
* | xmlconfig: remove GL type dependencies | Nicolai Hähnle | 2017-07-31 | 1 | -6/+4 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: ensure that temp array allocas are in the entry block | Nicolai Hähnle | 2017-07-31 | 1 | -1/+1 |
| | | | | | | | | | Otherwise, code generation fails. This has become necessary since some shaders are wrapped in control flow. Fixes: 081ac6e5c6d2 ("radeonsi/gfx9: always wrap GS and TCS in an if-block (v2)") Cc: [email protected] Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: enable R600_DEBUG=nir for vertex and fragment shaders | Nicolai Hähnle | 2017-07-31 | 3 | -1/+8 |
| | | | | | | | | | Also, disable geometry and tessellation shaders. Mixing and matching NIR and TGSI shaders should work (and I've tested it for the VS/PS interface), but geometry and tessellation requires VS-as-ES/LS, which isn't implemented yet for NIR. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: VS as ES/LS are not yet supported with R600_DEBUG=nir | Nicolai Hähnle | 2017-07-31 | 1 | -0/+2 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi/nir: lower uniforms to UBO loads | Nicolai Hähnle | 2017-07-31 | 1 | -0/+10 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: implement load_frag_coord intrinsic | Nicolai Hähnle | 2017-07-31 | 1 | -0/+10 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi/nir: lower txp instructions | Nicolai Hähnle | 2017-07-31 | 1 | -0/+5 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: pass ac_llvm_context to unpack_param | Nicolai Hähnle | 2017-07-31 | 1 | -18/+18 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir,radeonsi: add and use ac_shader_abi::frag_pos | Nicolai Hähnle | 2017-07-31 | 3 | -17/+26 |
| | | | | | | v2: update for LLVMValueRefs in ac_shader_abi Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir,radeonsi: add and use ac_shader_abi::{ancillary,sample_coverage} | Nicolai Hähnle | 2017-07-31 | 3 | -8/+10 |
| | | | | | | v2: update for LLVMValueRefs in ac_shader_abi Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir,radv: move force_persample to ac_shader_info::force_persample | Nicolai Hähnle | 2017-07-31 | 6 | -6/+10 |
| | | | | | | | Avoid accessing radv-specific structures during the meat of NIR-to-LLVM translation. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: tweak next-shader assumptions when streamout is used | Nicolai Hähnle | 2017-07-31 | 1 | -5/+11 |
| | | | | | | VS with streamout is always a HW VS. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: use new function ac_build_umin for edgeflag clamping | Nicolai Hähnle | 2017-07-31 | 3 | -1/+9 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: clamp shadow texture comparison value on VI | Nicolai Hähnle | 2017-07-31 | 1 | -1/+13 |
| | | | | | | | Needed for TC-compatible HTILE in radeonsi for test cases like piglit spec/arb_texture_rg/execution/fs-shadow2d-red-01.shader_test Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: add always_vector argument to ac_build_gather_values_extended | Nicolai Hähnle | 2017-07-31 | 3 | -19/+13 |
| | | | | | | | | | | This simplifies a bunch of places that no longer need special treatment of value_count == 1. We rely on LLVM to optimize away the 1-element vector types. This fixes a bunch of bugs where 1-element arrays are indexed indirectly. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir,radeonsi: add ac_shader_abi::front_face | Nicolai Hähnle | 2017-07-31 | 3 | -7/+15 |
| | | | | | | v2: update for LLVMValueRefs in ac_shader_abi Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: pass ac_nir_context to emit_ddxy | Nicolai Hähnle | 2017-07-31 | 1 | -15/+14 |
| | | | | | | | Allocating the ddxy_lds is considered to be part of the API shader translation and not part of the ABI. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: pass ac_nir_context to SSBO intrinsic handlers | Nicolai Hähnle | 2017-07-31 | 1 | -55/+59 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: implement and use ac_shader_abi::load_ssbo | Nicolai Hähnle | 2017-07-31 | 2 | -11/+20 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: make get_indirect_index globally visible | Nicolai Hähnle | 2017-07-31 | 2 | -10/+13 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: load buffer descriptors via ac_shader_abi::load_ssbo | Nicolai Hähnle | 2017-07-31 | 2 | -8/+30 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: pass ac_nir_context to emit_discard_if | Nicolai Hähnle | 2017-07-31 | 1 | -8/+8 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: extract shader_info->fs.can_discard from NIR shader info | Nicolai Hähnle | 2017-07-31 | 1 | -2/+2 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi/nir: perform radeonsi-specific lowering and optimization passes | Nicolai Hähnle | 2017-07-31 | 1 | -0/+41 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi/nir: perform lowering of input/output driver locations | Nicolai Hähnle | 2017-07-31 | 3 | -0/+29 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: handle old-style shadow tex instructions correctly | Nicolai Hähnle | 2017-07-31 | 1 | -1/+3 |
| | | | | | | The first element is only extracted for new-style shadow tex. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: whitespace fixes | Nicolai Hähnle | 2017-07-31 | 1 | -1/+1 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: use shader_info pass to determine whether instance_id is used | Nicolai Hähnle | 2017-07-31 | 3 | -2/+9 |
| | | | | | | This improves the separation of ABI and NIR translation. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: move setting shader_info->fs.writes_memory to radv-specific code | Nicolai Hähnle | 2017-07-31 | 1 | -6/+3 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi/nir: add image descriptor loading | Nicolai Hähnle | 2017-07-31 | 3 | -8/+32 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: add image and write parameter to ac_shader_abi::load_sampler_desc | Nicolai Hähnle | 2017-07-31 | 3 | -20/+30 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: add support for arrays-of-arrays to get_sampler_desc | Nicolai Hähnle | 2017-07-31 | 1 | -5/+20 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi/nir: set si_shader_context::num_{sampler,images} | Nicolai Hähnle | 2017-07-31 | 1 | -0/+5 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi/nir: implement ac_shader_abi::load_sampler_desc | Nicolai Hähnle | 2017-07-31 | 3 | -20/+49 |
| | | | | | | v2: remove enum desc_type from radeonsi (Marek) Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: pass ac_nir_context to tex_fetch_ptrs and related functions | Nicolai Hähnle | 2017-07-31 | 1 | -75/+83 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: add and use ac_shader_abi::load_sampler_desc | Nicolai Hähnle | 2017-07-31 | 2 | -48/+84 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: pass ac_nir_context to visit_tex and various related functions | Nicolai Hähnle | 2017-07-31 | 1 | -117/+118 |
| | | | | | | | Get most of the churn out of the way before actually loading samplers via the ABI. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir,radeonsi: add ac_shader_abi::chip_class | Nicolai Hähnle | 2017-07-31 | 3 | -0/+5 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi/nir: emit FS outputs | Nicolai Hähnle | 2017-07-31 | 1 | -10/+14 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi/nir: load FS inputs | Nicolai Hähnle | 2017-07-31 | 3 | -11/+52 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi/nir: load VS inputs | Nicolai Hähnle | 2017-07-31 | 3 | -2/+40 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir,radeonsi: add ac_shader_abi::load_ubo | Nicolai Hähnle | 2017-07-31 | 3 | -0/+19 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: pass ac_nir_context to visit_load_ubo_buffer | Nicolai Hähnle | 2017-07-31 | 1 | -8/+8 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: pass ac_nir_context to visit_{load,store}_var and get_deref_offset ↵ | Nicolai Hähnle | 2017-07-31 | 1 | -75/+75 |
| | | | | | | helper Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: pass ac_llvm_context to some helper functions | Nicolai Hähnle | 2017-07-31 | 1 | -20/+20 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: pass ac_nir_context to visit_intrinsic | Nicolai Hähnle | 2017-07-31 | 1 | -52/+52 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: add ac_nir_context::main_function | Nicolai Hähnle | 2017-07-31 | 1 | -0/+3 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | ac/nir: split scanning outputs from setting up output allocas | Nicolai Hähnle | 2017-07-31 | 1 | -8/+43 |
| | | | | | | | The scanning phase sets the driver_location, because it is part of the ABI: radeonsi does the assignment differently. Reviewed-by: Marek Olšák <[email protected]> |