iris: Make iris_has_color_unresolved more generic
[mesa.git] / src / amd / vulkan / radv_shader_helper.h
index 3c81f5be54a3ee4f600a3489ff57f395ea11cf76..c64d2df676ba36a067a160751a368e6e0ac2b479 100644 (file)
@@ -27,16 +27,16 @@ extern "C" {
 #endif
 
 bool radv_init_llvm_compiler(struct ac_llvm_compiler *info,
-                            bool okay_to_leak_target_library_info,
                             bool thread_compiler,
                             enum radeon_family family,
-                            enum ac_target_machine_options tm_options);
+                            enum ac_target_machine_options tm_options,
+                            unsigned wave_size);
 void radv_destroy_llvm_compiler(struct ac_llvm_compiler *info,
                                bool thread_compiler);
 
-bool radv_compile_to_binary(struct ac_llvm_compiler *info,
-                           LLVMModuleRef module,
-                           struct ac_shader_binary *binary);
+bool radv_compile_to_elf(struct ac_llvm_compiler *info,
+                        LLVMModuleRef module,
+                        char **pelf_buffer, size_t *pelf_size);
 
 #ifdef __cplusplus
 }