Lines Matching full:machine
48 draw->gs.tgsi.machine = tgsi_exec_machine_create(); in draw_gs_init()
49 if (!draw->gs.tgsi.machine) in draw_gs_init()
52 draw->gs.tgsi.machine->Primitives = align_malloc( in draw_gs_init()
54 if (!draw->gs.tgsi.machine->Primitives) in draw_gs_init()
56 memset(draw->gs.tgsi.machine->Primitives, 0, in draw_gs_init()
64 if (!draw->gs.tgsi.machine) in draw_gs_destroy()
67 align_free(draw->gs.tgsi.machine->Primitives); in draw_gs_destroy()
69 tgsi_exec_machine_destroy(draw->gs.tgsi.machine); in draw_gs_destroy()
124 gs->machine = draw->gs.tgsi.machine; in draw_create_geometry_shader()
168 struct tgsi_exec_machine *machine = shader->machine; in draw_geometry_fetch_outputs() local
178 unsigned num_verts_per_prim = machine->Primitives[prim_idx]; in draw_geometry_fetch_outputs()
180 machine->Primitives[prim_idx]; in draw_geometry_fetch_outputs()
189 output[slot][0] = machine->Outputs[idx + slot].xyzw[0].f[0]; in draw_geometry_fetch_outputs()
190 output[slot][1] = machine->Outputs[idx + slot].xyzw[1].f[0]; in draw_geometry_fetch_outputs()
191 output[slot][2] = machine->Outputs[idx + slot].xyzw[2].f[0]; in draw_geometry_fetch_outputs()
192 output[slot][3] = machine->Outputs[idx + slot].xyzw[3].f[0]; in draw_geometry_fetch_outputs()
215 struct tgsi_exec_machine *machine = shader->machine; in draw_fetch_gs_input() local
233 machine->Inputs[idx].xyzw[0].f[prim_idx] = in draw_fetch_gs_input()
235 machine->Inputs[idx].xyzw[1].f[prim_idx] = in draw_fetch_gs_input()
237 machine->Inputs[idx].xyzw[2].f[prim_idx] = in draw_fetch_gs_input()
239 machine->Inputs[idx].xyzw[3].f[prim_idx] = in draw_fetch_gs_input()
252 machine->Inputs[idx].xyzw[0].f[prim_idx] = input[vs_slot][0]; in draw_fetch_gs_input()
253 machine->Inputs[idx].xyzw[1].f[prim_idx] = input[vs_slot][1]; in draw_fetch_gs_input()
254 machine->Inputs[idx].xyzw[2].f[prim_idx] = input[vs_slot][2]; in draw_fetch_gs_input()
255 machine->Inputs[idx].xyzw[3].f[prim_idx] = input[vs_slot][3]; in draw_fetch_gs_input()
258 machine->Inputs[idx].xyzw[0].f[prim_idx], in draw_fetch_gs_input()
259 machine->Inputs[idx].xyzw[1].f[prim_idx], in draw_fetch_gs_input()
260 machine->Inputs[idx].xyzw[2].f[prim_idx], in draw_fetch_gs_input()
261 machine->Inputs[idx].xyzw[3].f[prim_idx]); in draw_fetch_gs_input()
273 struct tgsi_exec_machine *machine = shader->machine; in gs_flush() local
278 tgsi_set_exec_mask(machine, in gs_flush()
285 tgsi_exec_machine_run(machine); in gs_flush()
288 machine->Temps[TGSI_EXEC_TEMP_PRIMITIVE_I].xyzw[TGSI_EXEC_TEMP_PRIMITIVE_C].u[0]; in gs_flush()
401 struct tgsi_exec_machine *machine = shader->machine; in draw_geometry_shader_run() local
443 tgsi_exec_set_constant_buffers(machine, PIPE_MAX_CONSTANT_BUFFERS, in draw_geometry_shader_run()
483 if (shader && shader->machine->Tokens != shader->state.tokens) { in draw_geometry_shader_prepare()
484 tgsi_exec_machine_bind_shader(shader->machine, in draw_geometry_shader_prepare()