Home
last modified time | relevance | path

Searched refs:inst_bytes (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dradeonsi_shader.c669 unsigned char * inst_bytes; in si_pipe_shader_create() local
715 radeon_llvm_compile(mod, &inst_bytes, &inst_byte_count, "SI", dump); in si_pipe_shader_create()
719 fprintf(stderr, "%02x%02x%02x%02x\n", inst_bytes[i + 3], in si_pipe_shader_create()
720 inst_bytes[i + 2], inst_bytes[i + 1], in si_pipe_shader_create()
721 inst_bytes[i]); in si_pipe_shader_create()
725 shader->num_sgprs = util_le32_to_cpu(*(uint32_t*)inst_bytes); in si_pipe_shader_create()
726 shader->num_vgprs = util_le32_to_cpu(*(uint32_t*)(inst_bytes + 4)); in si_pipe_shader_create()
727 shader->spi_ps_input_ena = util_le32_to_cpu(*(uint32_t*)(inst_bytes + 8)); in si_pipe_shader_create()
743 ptr[i] = util_bswap32(*(uint32_t*)(inst_bytes+12 + i*4)); in si_pipe_shader_create()
746 memcpy(ptr, inst_bytes + 12, inst_byte_count - 12); in si_pipe_shader_create()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_llvm.h22 unsigned char ** inst_bytes,
Dr600_llvm.c315 unsigned char ** inst_bytes, in r600_llvm_compile() argument
321 return radeon_llvm_compile(mod, inst_bytes, inst_byte_count, in r600_llvm_compile()
Dr600_shader.c1178 unsigned char * inst_bytes = NULL; in r600_shader_from_tgsi() local
1260 if (r600_llvm_compile(mod, &inst_bytes, &inst_byte_count, in r600_shader_from_tgsi()
1262 FREE(inst_bytes); in r600_shader_from_tgsi()
1416 r600_bytecode_from_byte_stream(&ctx, inst_bytes, inst_byte_count); in r600_shader_from_tgsi()
1417 FREE(inst_bytes); in r600_shader_from_tgsi()