diff options
author | Tom Stellard <[email protected]> | 2014-02-03 13:50:09 -0500 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2014-03-07 13:31:51 -0500 |
commit | 1f4a9fc84e8d59e7911c3a6c39aaa191bb3e6ebb (patch) | |
tree | 23fb273f35de86030601f9be0e8dece0a6e2ed29 /src/gallium/drivers/radeon/radeon_llvm_emit.h | |
parent | d8fde8ffede9bfc96b9f7071dd4e779540dba61d (diff) |
radeon: Rename struct radeon_llvm_binary to radeon_shader_binary v2
And move its definition into r600_pipe_common.h; This struct is a just
a container for shader code and has nothing to do with LLVM.
v2:
- Drop unrelated Makefile change
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_llvm_emit.h')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_llvm_emit.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/gallium/drivers/radeon/radeon_llvm_emit.h b/src/gallium/drivers/radeon/radeon_llvm_emit.h index 532b7b843f0..780ff5f67f2 100644 --- a/src/gallium/drivers/radeon/radeon_llvm_emit.h +++ b/src/gallium/drivers/radeon/radeon_llvm_emit.h @@ -29,19 +29,13 @@ #include <llvm-c/Core.h> -struct radeon_llvm_binary { - unsigned char *code; - unsigned code_size; - unsigned char *config; - unsigned config_size; - int disassembled; -}; +struct radeon_shader_binary; void radeon_llvm_shader_type(LLVMValueRef F, unsigned type); unsigned radeon_llvm_compile( LLVMModuleRef M, - struct radeon_llvm_binary *binary, + struct radeon_shader_binary *binary, const char * gpu_family, unsigned dump); |