Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-07-05 | radeonsi: enable R600_DEBUG=nir for vertex and fragment shadersnir-v2 | Nicolai Hähnle | 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. | |||||
2017-07-05 | radeonsi: VS as ES/LS are not yet supported with R600_DEBUG=nir | Nicolai Hähnle | 1 | -0/+2 | |
2017-07-05 | radeonsi/nir: lower uniforms to UBO loads | Nicolai Hähnle | 1 | -0/+10 | |
2017-07-05 | ac/nir: implement load_frag_coord intrinsic | Nicolai Hähnle | 1 | -0/+10 | |
2017-07-05 | radeonsi/nir: lower txp instructions | Nicolai Hähnle | 1 | -0/+5 | |
2017-07-05 | ac/nir: pass ac_llvm_context to unpack_param | Nicolai Hähnle | 1 | -18/+18 | |
2017-07-05 | ac/nir,radeonsi: add and use ac_shader_abi::frag_pos | Nicolai Hähnle | 3 | -17/+26 | |
v2: update for LLVMValueRefs in ac_shader_abi | |||||
2017-07-05 | ac/nir,radeonsi: add and use ac_shader_abi::{ancillary,sample_coverage} | Nicolai Hähnle | 3 | -8/+10 | |
v2: update for LLVMValueRefs in ac_shader_abi | |||||
2017-07-05 | ac/nir,radv: move force_persample to ac_shader_info::force_persample | Nicolai Hähnle | 6 | -6/+10 | |
Avoid accessing radv-specific structures during the meat of NIR-to-LLVM translation. | |||||
2017-07-05 | radeonsi: tweak next-shader assumptions when streamout is used | Nicolai Hähnle | 1 | -5/+11 | |
VS with streamout is always a HW VS. | |||||
2017-07-05 | radeonsi: use new function ac_build_umin for edgeflag clamping | Nicolai Hähnle | 3 | -1/+9 | |
2017-07-05 | ac/nir: clamp shadow texture comparison value on VI | Nicolai Hähnle | 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 | |||||
2017-07-05 | ac/nir: add always_vector argument to ac_build_gather_values_extended | Nicolai Hähnle | 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. | |||||
2017-07-05 | ac/nir,radeonsi: add ac_shader_abi::front_face | Nicolai Hähnle | 3 | -7/+15 | |
v2: update for LLVMValueRefs in ac_shader_abi | |||||
2017-07-05 | ac/nir: pass ac_nir_context to emit_ddxy | Nicolai Hähnle | 1 | -15/+14 | |
Allocating the ddxy_lds is considered to be part of the API shader translation and not part of the ABI. | |||||
2017-07-05 | ac/nir: pass ac_nir_context to SSBO intrinsic handlers | Nicolai Hähnle | 1 | -55/+59 | |
2017-07-05 | radeonsi: implement and use ac_shader_abi::load_ssbo | Nicolai Hähnle | 2 | -11/+20 | |
2017-07-05 | radeonsi: make get_indirect_index globally visible | Nicolai Hähnle | 2 | -10/+13 | |
2017-07-05 | ac/nir: load buffer descriptors via ac_shader_abi::load_ssbo | Nicolai Hähnle | 2 | -8/+30 | |
2017-07-05 | ac/nir: pass ac_nir_context to emit_discard_if | Nicolai Hähnle | 1 | -8/+8 | |
2017-07-05 | ac/nir: extract shader_info->fs.can_discard from NIR shader info | Nicolai Hähnle | 1 | -2/+2 | |
2017-07-05 | radeonsi/nir: perform radeonsi-specific lowering and optimization passes | Nicolai Hähnle | 1 | -0/+41 | |
2017-07-05 | radeonsi/nir: perform lowering of input/output driver locations | Nicolai Hähnle | 3 | -0/+29 | |
2017-07-05 | ac/nir: handle old-style shadow tex instructions correctly | Nicolai Hähnle | 1 | -1/+3 | |
The first element is only extracted for new-style shadow tex. | |||||
2017-07-05 | ac/nir: whitespace fixes | Nicolai Hähnle | 1 | -1/+1 | |
2017-07-05 | ac/nir: use shader_info pass to determine whether instance_id is used | Nicolai Hähnle | 3 | -2/+9 | |
This improves the separation of ABI and NIR translation. | |||||
2017-07-05 | ac/nir: move setting shader_info->fs.writes_memory to radv-specific code | Nicolai Hähnle | 1 | -6/+3 | |
2017-07-05 | radeonsi/nir: add image descriptor loading | Nicolai Hähnle | 3 | -8/+32 | |
2017-07-05 | ac/nir: add image and write parameter to ac_shader_abi::load_sampler_desc | Nicolai Hähnle | 3 | -20/+30 | |
2017-07-05 | ac/nir: add support for arrays-of-arrays to get_sampler_desc | Nicolai Hähnle | 1 | -5/+20 | |
2017-07-05 | radeonsi/nir: set si_shader_context::num_{sampler,images} | Nicolai Hähnle | 1 | -0/+5 | |
2017-07-05 | radeonsi/nir: implement ac_shader_abi::load_sampler_desc | Nicolai Hähnle | 3 | -13/+49 | |
2017-07-05 | ac/nir: pass ac_nir_context to tex_fetch_ptrs and related functions | Nicolai Hähnle | 1 | -74/+81 | |
2017-07-05 | ac/nir: add and use ac_shader_abi::load_sampler_desc | Nicolai Hähnle | 2 | -48/+84 | |
2017-07-05 | ac/nir: pass ac_nir_context to visit_tex and various related functions | Nicolai Hähnle | 1 | -117/+118 | |
Get most of the churn out of the way before actually loading samplers via the ABI. | |||||
2017-07-05 | ac/nir,radeonsi: add ac_shader_abi::chip_class | Nicolai Hähnle | 3 | -0/+5 | |
2017-07-05 | radeonsi/nir: emit FS outputs | Nicolai Hähnle | 1 | -10/+14 | |
2017-07-05 | radeonsi/nir: load FS inputs | Nicolai Hähnle | 3 | -11/+52 | |
2017-07-05 | radeonsi/nir: load VS inputs | Nicolai Hähnle | 3 | -2/+40 | |
2017-07-05 | ac/nir,radeonsi: add ac_shader_abi::load_ubo | Nicolai Hähnle | 3 | -0/+19 | |
2017-07-05 | ac/nir: pass ac_nir_context to visit_load_ubo_buffer | Nicolai Hähnle | 1 | -8/+8 | |
2017-07-05 | ac/nir: pass ac_nir_context to visit_{load,store}_var and get_deref_offset ↵ | Nicolai Hähnle | 1 | -76/+76 | |
helper | |||||
2017-07-05 | ac/nir: pass ac_llvm_context to some helper functions | Nicolai Hähnle | 1 | -20/+20 | |
2017-07-05 | ac/nir: pass ac_nir_context to visit_intrinsic | Nicolai Hähnle | 1 | -52/+52 | |
2017-07-05 | ac/nir: add ac_nir_context::main_function | Nicolai Hähnle | 1 | -0/+3 | |
2017-07-05 | ac/nir: split scanning outputs from setting up output allocas | Nicolai Hähnle | 1 | -8/+43 | |
The scanning phase sets the driver_location, because it is part of the ABI: radeonsi does the assignment differently. | |||||
2017-07-05 | ac/nir: pass ac_llvm_context to *build_alloca* helpers | Nicolai Hähnle | 1 | -9/+9 | |
2017-07-05 | ac/nir: use ac_shader_abi::emit_outputs | Nicolai Hähnle | 1 | -2/+14 | |
2017-07-05 | ac,radeonsi: add ac_shader_abi::emit_outputs for hardware VS shaders | Nicolai Hähnle | 3 | -11/+37 | |
2017-07-05 | radeonsi: pass si_shader_context to get_primitive_id | Nicolai Hähnle | 1 | -6/+5 | |