amd/common: move ac_shader_{binary,reloc} into r600 and rename
[mesa.git] / src / gallium / drivers / r600 / r600_pipe_common.c
index 566c63cc4d8f2a3b4d217ba16c377c4d0f9ce021..9eee322a28bdf102c6a232813cbbfa1360b29fcc 100644 (file)
@@ -59,27 +59,6 @@ struct r600_multi_fence {
        } gfx_unflushed;
 };
 
-/*
- * shader binary helpers.
- */
-void radeon_shader_binary_init(struct ac_shader_binary *b)
-{
-       memset(b, 0, sizeof(*b));
-}
-
-void radeon_shader_binary_clean(struct ac_shader_binary *b)
-{
-       if (!b)
-               return;
-       FREE(b->code);
-       FREE(b->config);
-       FREE(b->rodata);
-       FREE(b->global_symbol_offsets);
-       FREE(b->relocs);
-       FREE(b->disasm_string);
-       FREE(b->llvm_ir_string);
-}
-
 /*
  * pipe_context
  */