Lines Matching refs:machine

40            struct tgsi_exec_machine *machine,
50 * Bind tokens/shader to the interpreter's machine state.
52 tgsi_exec_machine_bind_shader(machine,
56 if (machine->SysSemanticToIndex[TGSI_SEMANTIC_THREAD_ID] != -1) {
57 unsigned i = machine->SysSemanticToIndex[TGSI_SEMANTIC_THREAD_ID];
59 machine->SystemValue[i].xyzw[0].i[j] = w;
60 machine->SystemValue[i].xyzw[1].i[j] = h;
61 machine->SystemValue[i].xyzw[2].i[j] = d;
65 if (machine->SysSemanticToIndex[TGSI_SEMANTIC_GRID_SIZE] != -1) {
66 unsigned i = machine->SysSemanticToIndex[TGSI_SEMANTIC_GRID_SIZE];
68 machine->SystemValue[i].xyzw[0].i[j] = g_w;
69 machine->SystemValue[i].xyzw[1].i[j] = g_h;
70 machine->SystemValue[i].xyzw[2].i[j] = g_d;
74 if (machine->SysSemanticToIndex[TGSI_SEMANTIC_BLOCK_SIZE] != -1) {
75 unsigned i = machine->SysSemanticToIndex[TGSI_SEMANTIC_BLOCK_SIZE];
77 machine->SystemValue[i].xyzw[0].i[j] = b_w;
78 machine->SystemValue[i].xyzw[1].i[j] = b_h;
79 machine->SystemValue[i].xyzw[2].i[j] = b_d;
87 struct tgsi_exec_machine *machine, bool restart)
90 if (machine->SysSemanticToIndex[TGSI_SEMANTIC_BLOCK_ID] != -1) {
91 unsigned i = machine->SysSemanticToIndex[TGSI_SEMANTIC_BLOCK_ID];
94 machine->SystemValue[i].xyzw[0].i[j] = g_w;
95 machine->SystemValue[i].xyzw[1].i[j] = g_h;
96 machine->SystemValue[i].xyzw[2].i[j] = g_d;
99 machine->NonHelperMask = (1 << 1) - 1;
102 tgsi_exec_machine_run(machine, restart ? machine->pc : 0);
104 if (machine->pc != -1)
132 struct tgsi_exec_machine *machine)
134 if (machine->Tokens == cs->tokens) {
135 tgsi_exec_machine_bind_shader(machine, NULL, NULL, NULL, NULL);