Lines Matching refs:machine

39            struct tgsi_exec_machine *machine,
49 * Bind tokens/shader to the interpreter's machine state.
51 tgsi_exec_machine_bind_shader(machine,
55 if (machine->SysSemanticToIndex[TGSI_SEMANTIC_THREAD_ID] != -1) {
56 unsigned i = machine->SysSemanticToIndex[TGSI_SEMANTIC_THREAD_ID];
58 machine->SystemValue[i].xyzw[0].i[j] = local_x + j;
59 machine->SystemValue[i].xyzw[1].i[j] = local_y;
60 machine->SystemValue[i].xyzw[2].i[j] = local_z;
64 if (machine->SysSemanticToIndex[TGSI_SEMANTIC_GRID_SIZE] != -1) {
65 unsigned i = machine->SysSemanticToIndex[TGSI_SEMANTIC_GRID_SIZE];
67 machine->SystemValue[i].xyzw[0].i[j] = g_w;
68 machine->SystemValue[i].xyzw[1].i[j] = g_h;
69 machine->SystemValue[i].xyzw[2].i[j] = g_d;
73 if (machine->SysSemanticToIndex[TGSI_SEMANTIC_BLOCK_SIZE] != -1) {
74 unsigned i = machine->SysSemanticToIndex[TGSI_SEMANTIC_BLOCK_SIZE];
76 machine->SystemValue[i].xyzw[0].i[j] = b_w;
77 machine->SystemValue[i].xyzw[1].i[j] = b_h;
78 machine->SystemValue[i].xyzw[2].i[j] = b_d;
86 struct tgsi_exec_machine *machine, bool restart)
89 if (machine->SysSemanticToIndex[TGSI_SEMANTIC_BLOCK_ID] != -1) {
90 unsigned i = machine->SysSemanticToIndex[TGSI_SEMANTIC_BLOCK_ID];
93 machine->SystemValue[i].xyzw[0].i[j] = g_w;
94 machine->SystemValue[i].xyzw[1].i[j] = g_h;
95 machine->SystemValue[i].xyzw[2].i[j] = g_d;
100 tgsi_exec_machine_run(machine, restart ? machine->pc : 0);
102 if (machine->pc != -1)
130 struct tgsi_exec_machine *machine)
132 if (machine->Tokens == cs->tokens) {
133 tgsi_exec_machine_bind_shader(machine, NULL, NULL, NULL, NULL);