Searched refs:inst_ptr (Results 1 – 2 of 2) sorted by relevance
46 int inst_ptr; /* current instruction pointer */ member335 c->code[c->inst_ptr++] = *inst; in emit_inst()
95 c->block_ptr[block] = c->inst_ptr; in etna_emit_block_start()1190 if (!c->inst_ptr) in etna_compile_shader()1194 uint32_t *code = MALLOC(c->inst_ptr * 16); in etna_compile_shader()1195 for (unsigned i = 0; i < c->inst_ptr; i++) { in etna_compile_shader()1204 v->code_size = c->inst_ptr * 4; in etna_compile_shader()1206 v->needs_icache = c->inst_ptr > specs->max_instructions; in etna_compile_shader()