diff options
author | Tom Stellard <[email protected]> | 2013-04-23 20:08:57 -0700 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2013-04-24 12:42:41 -0400 |
commit | f64058803ad43e360ffaa5f14763485f4cac0158 (patch) | |
tree | 46a8c123c76e4dbbaf2fdbf6f8a6707ccc090b84 /src/gallium/drivers/r600/r600_llvm.h | |
parent | e29525f79fdb62993e14a4bc87a9e0955b838de0 (diff) |
r600g/llvm: Pass struct r600_bytecode to r600_llvm_compile
This way we don't need to update the function signature everytime we
emit a new config value. This also fixes the build with
--enable-opencl.
Diffstat (limited to 'src/gallium/drivers/r600/r600_llvm.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_llvm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_llvm.h b/src/gallium/drivers/r600/r600_llvm.h index b08343abd1d..919dd244cd0 100644 --- a/src/gallium/drivers/r600/r600_llvm.h +++ b/src/gallium/drivers/r600/r600_llvm.h @@ -7,6 +7,7 @@ #include "radeon_llvm.h" #include <llvm-c/Core.h> +struct r600_bytecode; struct r600_shader_ctx; struct radeon_llvm_context; enum radeon_family; @@ -20,8 +21,7 @@ unsigned r600_llvm_compile( unsigned char ** inst_bytes, unsigned * inst_byte_count, enum radeon_family family, - unsigned *ngpr, - unsigned *stack_size, + struct r600_bytecode *bc, unsigned dump); #endif /* defined R600_USE_LLVM || defined HAVE_OPENCL */ |