Home
last modified time | relevance | path

Searched refs:SystemValue (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_compute.c58 machine->SystemValue[i].xyzw[0].i[j] = local_x + j; in cs_prepare()
59 machine->SystemValue[i].xyzw[1].i[j] = local_y; in cs_prepare()
60 machine->SystemValue[i].xyzw[2].i[j] = local_z; in cs_prepare()
67 machine->SystemValue[i].xyzw[0].i[j] = g_w; in cs_prepare()
68 machine->SystemValue[i].xyzw[1].i[j] = g_h; in cs_prepare()
69 machine->SystemValue[i].xyzw[2].i[j] = g_d; in cs_prepare()
76 machine->SystemValue[i].xyzw[0].i[j] = b_w; in cs_prepare()
77 machine->SystemValue[i].xyzw[1].i[j] = b_h; in cs_prepare()
78 machine->SystemValue[i].xyzw[2].i[j] = b_d; in cs_prepare()
93 machine->SystemValue[i].xyzw[0].i[j] = g_w; in cs_run()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs_exec.c114 assert(i < ARRAY_SIZE(machine->SystemValue)); in vs_exec_run_linear()
116 machine->SystemValue[i].xyzw[0].i[j] = shader->draw->instance_id; in vs_exec_run_linear()
139 assert(vid < ARRAY_SIZE(machine->SystemValue)); in vs_exec_run_linear()
140 … machine->SystemValue[vid].xyzw[0].i[j] = fetch_elts ? fetch_elts[i + j] : (i + j + basevertex); in vs_exec_run_linear()
144 assert(vid < ARRAY_SIZE(machine->SystemValue)); in vs_exec_run_linear()
145 machine->SystemValue[vid].xyzw[0].i[j] = basevertex; in vs_exec_run_linear()
149 assert(vid < ARRAY_SIZE(machine->SystemValue)); in vs_exec_run_linear()
150 … machine->SystemValue[vid].xyzw[0].i[j] = fetch_elts ? (fetch_elts[i + j] - basevertex) : (i + j); in vs_exec_run_linear()
Ddraw_gs.c139 machine->SystemValue[primid_sv].xyzw[0].i[j] = shader->in_prim_idx; in tgsi_fetch_gs_input()
216 machine->SystemValue[i].xyzw[0].i[j] = shader->invocation_id; in tgsi_gs_run()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.h304 struct tgsi_exec_vector SystemValue[TGSI_MAX_MISC_INPUTS]; member
Dtgsi_exec.c1441 chan->u[i] = mach->SystemValue[index->i[i]].xyzw[swizzle].u[i]; in fetch_src_file_channel()