diff options
author | Marek Olšák <[email protected]> | 2016-01-06 21:21:07 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-02-09 21:19:51 +0100 |
commit | d611fce23dce77e674a3fca6e7ed555570efbedb (patch) | |
tree | 1075fb2c6d1b2c237b3fcaa8ddb478cea5828ca3 /src/gallium/drivers/radeon/radeon_llvm_emit.h | |
parent | de2e28366a4b43b7c47373d3bbe17243a4dbb3ba (diff) |
gallium/radeon: add a function for adding llvm function attributes
This will be used for setting the new InitialPSInputAddr attribute.
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_llvm_emit.h')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_llvm_emit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_llvm_emit.h b/src/gallium/drivers/radeon/radeon_llvm_emit.h index 45f05a9e0e1..84dbd2584a1 100644 --- a/src/gallium/drivers/radeon/radeon_llvm_emit.h +++ b/src/gallium/drivers/radeon/radeon_llvm_emit.h @@ -34,6 +34,7 @@ struct pipe_debug_callback; struct radeon_shader_binary; +void radeon_llvm_add_attribute(LLVMValueRef F, const char *name, int value); void radeon_llvm_shader_type(LLVMValueRef F, unsigned type); LLVMTargetRef radeon_llvm_get_r600_target(const char *triple); |