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/r600/r600_llvm.c | |
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/r600/r600_llvm.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_llvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/r600/r600_llvm.c index e395bf6359b..4fcca697741 100644 --- a/src/gallium/drivers/r600/r600_llvm.c +++ b/src/gallium/drivers/r600/r600_llvm.c @@ -827,11 +827,11 @@ unsigned r600_llvm_compile( unsigned dump) { unsigned r; - struct radeon_llvm_binary binary; + struct radeon_shader_binary binary; const char * gpu_family = r600_get_llvm_processor_name(family); unsigned i; - memset(&binary, 0, sizeof(struct radeon_llvm_binary)); + memset(&binary, 0, sizeof(struct radeon_shader_binary)); r = radeon_llvm_compile(mod, &binary, gpu_family, dump); assert(binary.code_size % 4 == 0); |