diff options
author | Timothy Arceri <[email protected]> | 2017-02-27 11:06:51 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-02-28 13:20:31 +1100 |
commit | dc4c551a345dc399e589382cd859812ea0d5bbae (patch) | |
tree | 25d76e412c3124de430b4d3f8a4c80992e9aba85 /src/gallium/drivers/radeonsi/si_compute.c | |
parent | 69a687189e0381d0ff8c2f079698b8adfbb0a7b1 (diff) |
radeon/ac: switch from radeon_elf_read() to ac_elf_read()
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_compute.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_compute.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_compute.c b/src/gallium/drivers/radeonsi/si_compute.c index f4efb0df8d3..5097c81780e 100644 --- a/src/gallium/drivers/radeonsi/si_compute.c +++ b/src/gallium/drivers/radeonsi/si_compute.c @@ -25,7 +25,6 @@ #include "tgsi/tgsi_parse.h" #include "util/u_memory.h" #include "util/u_upload_mgr.h" -#include "radeon/radeon_elf_util.h" #include "amd_kernel_code_t.h" #include "radeon/r600_cs.h" @@ -160,7 +159,7 @@ static void *si_create_compute_state( header = cso->prog; code = cso->prog + sizeof(struct pipe_llvm_program_header); - radeon_elf_read(code, header->num_bytes, &program->shader.binary); + ac_elf_read(code, header->num_bytes, &program->shader.binary); if (program->use_code_object_v2) { const amd_kernel_code_t *code_object = si_compute_get_code_object(program, 0); |