Home
last modified time | relevance | path

Searched refs:num_instr (Results 1 – 10 of 10) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_queue.c63 unsigned num_instr; member
112 if (ctx->cur_instr == cmdbuf->num_instr) { in nine_queue_get()
144 cmdbuf, cmdbuf->num_instr, cmdbuf->offset); in nine_queue_flush()
147 if (!cmdbuf->num_instr) in nine_queue_flush()
170 cmdbuf->num_instr = 0; in nine_queue_flush()
188 (cmdbuf->num_instr == NINE_CMD_BUF_INSTR)) { in nine_queue_alloc()
201 cmdbuf->instr_size[cmdbuf->num_instr] = space; in nine_queue_alloc()
202 cmdbuf->num_instr ++; in nine_queue_alloc()
224 return (ctx->tail == ctx->head) && !cmdbuf->num_instr; in nine_queue_isempty()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dir2_cp.c127 unsigned num_instr = 0; in cp_export() local
139 ins[num_instr++] = instr; in cp_export()
175 reswiz[num_instr] |= swiz_set(x, j++); in cp_export()
178 ins[num_instr++] = instr; in cp_export()
202 for (int i = 0; i < num_instr; i++) { in cp_export()
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dcodegen.c571 for (int i = 0; i < comp->num_instr; i++) { in gpir_codegen_print_prog()
581 int num_instr = 0; in gpir_codegen_prog() local
583 block->instr_offset = num_instr; in gpir_codegen_prog()
584 num_instr += list_length(&block->instr_list); in gpir_codegen_prog()
587 assert(num_instr <= 512); in gpir_codegen_prog()
589 gpir_codegen_instr *code = rzalloc_array(comp->prog, gpir_codegen_instr, num_instr); in gpir_codegen_prog()
601 for (int i = 0; i < num_instr; i++) { in gpir_codegen_prog()
607 comp->prog->state.shader_size = num_instr * sizeof(gpir_codegen_instr); in gpir_codegen_prog()
611 gpir_disassemble_program(code, num_instr, stdout); in gpir_codegen_prog()
Dcodegen.h164 void gpir_disassemble_program(gpir_codegen_instr *code, unsigned num_instr, FILE *fp);
Ddisasm.c588 gpir_disassemble_program(gpir_codegen_instr *code, unsigned num_instr, FILE *fp) in gpir_disassemble_program() argument
592 for (gpir_codegen_instr *instr = code; cur_instr < num_instr; in gpir_disassemble_program()
Dinstr.c37 block->comp->num_instr++; in gpir_instr_create()
38 if (block->comp->num_instr > 512) { in gpir_instr_create()
Dgpir.h427 int num_instr; member
Dnir.c434 comp->num_instr, in gpir_print_shader_db()
/third_party/mesa3d/src/compiler/isaspec/
Ddecode.c128 unsigned num_instr; member
612 if (offset < scope->state->num_instr) { in display_field()
716 for (state->n = 0; state->n < state->num_instr; state->n++) { in decode()
778 state->num_instr = sz / (BITMASK_WORDS * sizeof(BITSET_WORD)); in isa_decode()
782 sizeof(BITSET_WORD) * BITSET_WORDS(state->num_instr)); in isa_decode()
/third_party/mesa3d/src/mesa/program/
Dprogram.c444 int num_instr = prog->arb.NumInstructions; in _mesa_add_separate_state_parameters() local
448 for (unsigned i = 0; i < num_instr; i++) { in _mesa_add_separate_state_parameters()