summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-07-05radeonsi: make get_indirect_index globally visibleNicolai Hähnle2-10/+13
2017-07-05ac/nir: load buffer descriptors via ac_shader_abi::load_ssboNicolai Hähnle2-8/+30
2017-07-05ac/nir: pass ac_nir_context to emit_discard_ifNicolai Hähnle1-8/+8
2017-07-05ac/nir: extract shader_info->fs.can_discard from NIR shader infoNicolai Hähnle1-2/+2
2017-07-05radeonsi/nir: perform radeonsi-specific lowering and optimization passesNicolai Hähnle1-0/+41
2017-07-05radeonsi/nir: perform lowering of input/output driver locationsNicolai Hähnle3-0/+29
2017-07-05ac/nir: handle old-style shadow tex instructions correctlyNicolai Hähnle1-1/+3
The first element is only extracted for new-style shadow tex.
2017-07-05ac/nir: whitespace fixesNicolai Hähnle1-1/+1
2017-07-05ac/nir: use shader_info pass to determine whether instance_id is usedNicolai Hähnle3-2/+9
This improves the separation of ABI and NIR translation.
2017-07-05ac/nir: move setting shader_info->fs.writes_memory to radv-specific codeNicolai Hähnle1-6/+3
2017-07-05radeonsi/nir: add image descriptor loadingNicolai Hähnle3-8/+32
2017-07-05ac/nir: add image and write parameter to ac_shader_abi::load_sampler_descNicolai Hähnle3-20/+30
2017-07-05ac/nir: add support for arrays-of-arrays to get_sampler_descNicolai Hähnle1-5/+20
2017-07-05radeonsi/nir: set si_shader_context::num_{sampler,images}Nicolai Hähnle1-0/+5
2017-07-05radeonsi/nir: implement ac_shader_abi::load_sampler_descNicolai Hähnle3-13/+49
2017-07-05ac/nir: pass ac_nir_context to tex_fetch_ptrs and related functionsNicolai Hähnle1-74/+81
2017-07-05ac/nir: add and use ac_shader_abi::load_sampler_descNicolai Hähnle2-48/+84
2017-07-05ac/nir: pass ac_nir_context to visit_tex and various related functionsNicolai Hähnle1-117/+118
Get most of the churn out of the way before actually loading samplers via the ABI.
2017-07-05ac/nir,radeonsi: add ac_shader_abi::chip_classNicolai Hähnle3-0/+5
2017-07-05radeonsi/nir: emit FS outputsNicolai Hähnle1-10/+14
2017-07-05radeonsi/nir: load FS inputsNicolai Hähnle3-11/+52
2017-07-05radeonsi/nir: load VS inputsNicolai Hähnle3-2/+40
2017-07-05ac/nir,radeonsi: add ac_shader_abi::load_uboNicolai Hähnle3-0/+19
2017-07-05ac/nir: pass ac_nir_context to visit_load_ubo_bufferNicolai Hähnle1-8/+8
2017-07-05ac/nir: pass ac_nir_context to visit_{load,store}_var and get_deref_offset ↵Nicolai Hähnle1-76/+76
helper
2017-07-05ac/nir: pass ac_llvm_context to some helper functionsNicolai Hähnle1-20/+20
2017-07-05ac/nir: pass ac_nir_context to visit_intrinsicNicolai Hähnle1-52/+52
2017-07-05ac/nir: add ac_nir_context::main_functionNicolai Hähnle1-0/+3
2017-07-05ac/nir: split scanning outputs from setting up output allocasNicolai Hähnle1-8/+43
The scanning phase sets the driver_location, because it is part of the ABI: radeonsi does the assignment differently.
2017-07-05ac/nir: pass ac_llvm_context to *build_alloca* helpersNicolai Hähnle1-9/+9
2017-07-05ac/nir: use ac_shader_abi::emit_outputsNicolai Hähnle1-2/+14
2017-07-05ac,radeonsi: add ac_shader_abi::emit_outputs for hardware VS shadersNicolai Hähnle3-11/+37
2017-07-05radeonsi: pass si_shader_context to get_primitive_idNicolai Hähnle1-6/+5
2017-07-05radeonsi: translate NIR to LLVMNicolai Hähnle4-4/+22
2017-07-05radeonsi: dump NIR instead of TGSI when appropriateNicolai Hähnle1-1/+5
2017-07-05radeonsi: bypass the shader cache for NIR shadersNicolai Hähnle1-2/+3
2017-07-05radeonsi: scan NIR shaders to obtain required infoNicolai Hähnle5-6/+335
2017-07-05ac/nir: add ac_shader_abi::inputsNicolai Hähnle2-0/+9
2017-07-05ac/nir: begin splitting off ac_nir_contextNicolai Hähnle2-201/+254
The eventual goal is to hide all radv-specific details behind ac_nir_context::abi, so that the NIR->LLVM code can be re-used by radeonsi. During development, we live with a partial split, where some of the NIR->LLVM code still relies on linking back to the nir_to_llvm_context (which should ultimately be renamed to reflect that it's radv-specific). The idea is to get rid of these backlinks over time.
2017-07-05radeonsi: add si_shader_selector::nirNicolai Hähnle1-0/+3
2017-07-05radeonsi: implement pipe_screen::get_compiler_options for NIRNicolai Hähnle1-0/+33
2017-07-05radeonsi: add nir include pathsNicolai Hähnle1-0/+1
2017-07-05ac/nir: start using ac_shader_abiNicolai Hähnle1-20/+18
v2: update for LLVMValueRefs in ac_shader_abi
2017-07-05ac,radeonsi: move some VS input descriptions to ac_shader_abiNicolai Hähnle3-31/+77
v2: use LLVM values instead of function parameter indices Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v1)
2017-07-05radeonsi: store shader function arguments in a structureNicolai Hähnle1-298/+320
Aligns the code a bit more with ac/nir, and simplifies the setup of ac_shader_abi.
2017-07-05gallium/targets: link against NIR when building radeonsiNicolai Hähnle6-0/+8
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2017-07-05st/glsl_to_nir: move nir_lower_io to driversNicolai Hähnle3-2/+10
This allows drivers more freedom in how exactly they want to lower I/O, e.g. first lowering I/O to temporaries.
2017-07-05st/mesa: get rid of st_glsl_typesNicolai Hähnle10-173/+42
It's a duplicate of glsl_type::count_attribute_slots.
2017-07-05st/glsl_to_nir: use nir_lower_samplers_as_deref when requested by the driverNicolai Hähnle1-1/+6
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2017-07-05st/glsl_to_nir: fix the case where NIR clone testing is enabledNicolai Hähnle1-1/+2
In that case, prog->nir must be assigned at the end.