diff options
author | Nicolai Hähnle <[email protected]> | 2017-06-08 18:38:06 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-07-31 14:55:36 +0200 |
commit | 8643d41622f0f175d7062d0c469537e2d5a5ec35 (patch) | |
tree | db2fae0594a9a566b1ee7508a83a8b2b8b147e6b /src/gallium/drivers/radeonsi/si_shader_internal.h | |
parent | d007919d999c812bbef481f0605c64f7e0f225b7 (diff) |
radeonsi/nir: load VS inputs
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader_internal.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader_internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader_internal.h b/src/gallium/drivers/radeonsi/si_shader_internal.h index 31b4c30ee90..a86fd022177 100644 --- a/src/gallium/drivers/radeonsi/si_shader_internal.h +++ b/src/gallium/drivers/radeonsi/si_shader_internal.h @@ -314,6 +314,11 @@ LLVMTypeRef si_const_array(LLVMTypeRef elem_type, int num_elements); void si_shader_context_init_alu(struct lp_build_tgsi_context *bld_base); void si_shader_context_init_mem(struct si_shader_context *ctx); +void si_llvm_load_input_vs( + struct si_shader_context *ctx, + unsigned input_index, + LLVMValueRef out[4]); + bool si_nir_build_llvm(struct si_shader_context *ctx, struct nir_shader *nir); #endif |