summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_llvm.h
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2014-09-25 18:10:44 -0700
committerTom Stellard <[email protected]>2014-10-31 15:24:00 -0400
commitfa07f4b68a20e54e1766876203b11a8b90ff120f (patch)
tree3143eb857d056ebbbf0586abb5dbec2db1581681 /src/gallium/drivers/r600/r600_llvm.h
parente91735a641b71bc2bccabd0c779a626fa412b314 (diff)
r600g/compute: Enable PIPE_SHADER_IR_NATIVE for compute shaders v2
v2: - Drop dependency on LLVM >= 3.5.1
Diffstat (limited to 'src/gallium/drivers/r600/r600_llvm.h')
-rw-r--r--src/gallium/drivers/r600/r600_llvm.h10
1 files changed, 10 insertions, 0 deletions
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 */