1 /* 2 * Copyright © 2016 Red Hat. 3 * Copyright © 2016 Bas Nieuwenhuizen 4 * 5 * based in part on anv driver which is: 6 * Copyright © 2015 Intel Corporation 7 * 8 * SPDX-License-Identifier: MIT 9 */ 10 11 #ifndef RADV_NIR_TO_LLVM_H 12 #define RADV_NIR_TO_LLVM_H 13 14 struct radv_nir_compiler_options; 15 struct radv_shader_info; 16 struct nir_shader; 17 struct radv_shader_binary; 18 struct radv_shader_args; 19 20 void llvm_compile_shader(const struct radv_nir_compiler_options *options, const struct radv_shader_info *info, 21 unsigned shader_count, struct nir_shader *const *shaders, struct radv_shader_binary **binary, 22 const struct radv_shader_args *args); 23 24 #endif /* RADV_NIR_TO_LLVM_H */ 25