Lines Matching refs:machines
110 struct tgsi_exec_machine **machines) in run_workgroup() argument
118 grp_hit_barrier |= cs_run(cs, g_w, g_h, g_d, machines[i], restart_threads); in run_workgroup()
172 struct tgsi_exec_machine **machines; in softpipe_launch_grid() local
191 machines = CALLOC(sizeof(struct tgsi_exec_machine *), num_threads_in_group); in softpipe_launch_grid()
192 if (!machines) { in softpipe_launch_grid()
202 machines[idx] = tgsi_exec_machine_create(PIPE_SHADER_COMPUTE); in softpipe_launch_grid()
204 machines[idx]->LocalMem = local_mem; in softpipe_launch_grid()
205 machines[idx]->LocalMemSize = cs->shader.req_local_mem; in softpipe_launch_grid()
206 machines[idx]->NonHelperMask = (1 << (MIN2(TGSI_QUAD_SIZE, bwidth - local_x))) - 1; in softpipe_launch_grid()
207 cs_prepare(cs, machines[idx], in softpipe_launch_grid()
214 tgsi_exec_set_constant_buffers(machines[idx], PIPE_MAX_CONSTANT_BUFFERS, in softpipe_launch_grid()
225 run_workgroup(cs, g_w, g_h, g_d, num_threads_in_group, machines); in softpipe_launch_grid()
236 cs_delete(cs, machines[i]); in softpipe_launch_grid()
237 tgsi_exec_machine_destroy(machines[i]); in softpipe_launch_grid()
241 FREE(machines); in softpipe_launch_grid()