* the shader code to the GPU.
*/
init_scratch_buffer(sctx, program);
- si_shader_binary_read(&program->shader.binary,
- &program->shader.config);
+ si_shader_binary_read_config(&program->shader.binary,
+ &program->shader.config, 0);
si_shader_dump(sctx->screen, &program->shader.binary,
&program->shader.config, &sctx->b.debug,
TGSI_PROCESSOR_COMPUTE);
si_shader_dump_stats(sscreen, conf, binary->code_size, debug, processor);
}
-void si_shader_binary_read(struct radeon_shader_binary *binary,
- struct si_shader_config *conf)
-{
- si_shader_binary_read_config(binary, conf, 0);
-}
-
int si_compile_llvm(struct si_screen *sscreen,
struct radeon_shader_binary *binary,
struct si_shader_config *conf,
return r;
}
- si_shader_binary_read(binary, conf);
+ si_shader_binary_read_config(binary, conf, 0);
si_shader_dump(sscreen, binary, conf, debug, processor);
FREE(binary->config);
void si_shader_destroy_binary(struct radeon_shader_binary *binary);
unsigned si_shader_io_get_unique_index(unsigned semantic_name, unsigned index);
int si_shader_binary_upload(struct si_screen *sscreen, struct si_shader *shader);
-void si_shader_binary_read(struct radeon_shader_binary *binary,
- struct si_shader_config *conf);
void si_shader_dump(struct si_screen *sscreen,
struct radeon_shader_binary *binary,
struct si_shader_config *conf,