unsigned private_size;
unsigned input_size;
struct radeon_shader_binary binary;
- struct si_shader program;
+ struct si_shader shader;
unsigned num_user_sgprs;
struct r600_resource *input_buffer;
#else
radeon_elf_read(code, header->num_bytes, &program->binary, true);
- si_shader_binary_read(sctx->screen, &program->program, &program->binary);
+ si_shader_binary_read(sctx->screen, &program->shader, &program->binary);
#endif
program->input_buffer = si_resource_create_custom(sctx->b.b.screen,
uint64_t shader_va;
unsigned arg_user_sgpr_count = NUM_USER_SGPRS;
unsigned i;
- struct si_shader *shader = &program->program;
+ struct si_shader *shader = &program->shader;
unsigned lds_blocks;
unsigned num_waves_for_scratch;
#if HAVE_LLVM >= 0x0306
/* Read the config information */
- si_shader_binary_read_config(&program->binary, &program->program, pc);
+ si_shader_binary_read_config(&program->binary, shader, pc);
#endif
/* Upload the kernel arguments */
LLVMContextDispose(program->llvm_ctx);
}
#else
- si_shader_destroy(ctx, &program->program);
+ si_shader_destroy(ctx, &program->shader);
#endif
pipe_resource_reference(