Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_compute.c59 machine->SystemValue[i].xyzw[0].i[j] = w; in cs_prepare()
60 machine->SystemValue[i].xyzw[1].i[j] = h; in cs_prepare()
61 machine->SystemValue[i].xyzw[2].i[j] = d; in cs_prepare()
68 machine->SystemValue[i].xyzw[0].i[j] = g_w; in cs_prepare()
69 machine->SystemValue[i].xyzw[1].i[j] = g_h; in cs_prepare()
70 machine->SystemValue[i].xyzw[2].i[j] = g_d; in cs_prepare()
77 machine->SystemValue[i].xyzw[0].i[j] = b_w; in cs_prepare()
78 machine->SystemValue[i].xyzw[1].i[j] = b_h; in cs_prepare()
79 machine->SystemValue[i].xyzw[2].i[j] = b_d; in cs_prepare()
94 machine->SystemValue[i].xyzw[0].i[j] = g_w; in cs_run()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs_exec.c111 assert(i < ARRAY_SIZE(machine->SystemValue)); in vs_exec_run_linear()
113 machine->SystemValue[i].xyzw[0].i[j] = shader->draw->instance_id; in vs_exec_run_linear()
136 assert(vid < ARRAY_SIZE(machine->SystemValue)); in vs_exec_run_linear()
137 … machine->SystemValue[vid].xyzw[0].i[j] = fetch_elts ? fetch_elts[i + j] : (i + j + basevertex); in vs_exec_run_linear()
141 assert(vid < ARRAY_SIZE(machine->SystemValue)); in vs_exec_run_linear()
142 machine->SystemValue[vid].xyzw[0].i[j] = basevertex; in vs_exec_run_linear()
146 assert(vid < ARRAY_SIZE(machine->SystemValue)); in vs_exec_run_linear()
147 … machine->SystemValue[vid].xyzw[0].i[j] = fetch_elts ? (fetch_elts[i + j] - basevertex) : (i + j); in vs_exec_run_linear()
Ddraw_gs.c138 machine->SystemValue[primid_sv].xyzw[0].i[j] = shader->in_prim_idx; in tgsi_fetch_gs_input()
215 machine->SystemValue[i].xyzw[0].i[j] = shader->invocation_id; in tgsi_gs_run()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.h353 struct tgsi_exec_vector SystemValue[TGSI_MAX_MISC_INPUTS]; member
Dtgsi_exec.c1526 chan->u[i] = mach->SystemValue[index->i[i]].xyzw[swizzle].u[i]; in fetch_src_file_channel()