aco: Add README which explains about what ACO is and how it works.
[mesa.git] / src / amd / vulkan / radv_shader_helper.h
index faaf965eab508c0185cb1b7e818a74376444de3b..c64d2df676ba36a067a160751a368e6e0ac2b479 100644 (file)
@@ -29,13 +29,14 @@ extern "C" {
 bool radv_init_llvm_compiler(struct ac_llvm_compiler *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
 }