From fa07f4b68a20e54e1766876203b11a8b90ff120f Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 25 Sep 2014 18:10:44 -0700 Subject: r600g/compute: Enable PIPE_SHADER_IR_NATIVE for compute shaders v2 v2: - Drop dependency on LLVM >= 3.5.1 --- src/gallium/drivers/r600/r600_llvm.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/gallium/drivers/r600/r600_llvm.h') diff --git a/src/gallium/drivers/r600/r600_llvm.h b/src/gallium/drivers/r600/r600_llvm.h index 3840a5a2933..9b5304d9fcb 100644 --- a/src/gallium/drivers/r600/r600_llvm.h +++ b/src/gallium/drivers/r600/r600_llvm.h @@ -10,6 +10,7 @@ struct r600_bytecode; struct r600_shader_ctx; struct radeon_llvm_context; +struct radeon_shader_binary; enum radeon_family; LLVMModuleRef r600_tgsi_llvm( @@ -23,6 +24,15 @@ unsigned r600_llvm_compile( boolean *use_kill, unsigned dump); +unsigned r600_create_shader(struct r600_bytecode *bc, + const struct radeon_shader_binary *binary, + boolean *use_kill); + +void r600_shader_binary_read_config(const struct radeon_shader_binary *binary, + struct r600_bytecode *bc, + uint64_t symbol_offset, + boolean *use_kill); + #endif /* defined R600_USE_LLVM || defined HAVE_OPENCL */ #endif /* R600_LLVM_H */ -- cgit v1.2.3