Home
last modified time | relevance | path

Searched refs:vs_slot (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_gs.c129 int vs_slot; in tgsi_fetch_gs_input() local
143 for (slot = 0, vs_slot = 0; slot < shader->info.num_inputs; ++slot) { in tgsi_fetch_gs_input()
151 vs_slot = draw_gs_get_input_index( in tgsi_fetch_gs_input()
155 if (vs_slot < 0) { in tgsi_fetch_gs_input()
164 slot, vs_slot, idx); in tgsi_fetch_gs_input()
165 assert(!util_is_inf_or_nan(input[vs_slot][0])); in tgsi_fetch_gs_input()
166 assert(!util_is_inf_or_nan(input[vs_slot][1])); in tgsi_fetch_gs_input()
167 assert(!util_is_inf_or_nan(input[vs_slot][2])); in tgsi_fetch_gs_input()
168 assert(!util_is_inf_or_nan(input[vs_slot][3])); in tgsi_fetch_gs_input()
170 machine->Inputs[idx].xyzw[0].f[prim_idx] = input[vs_slot][0]; in tgsi_fetch_gs_input()
[all …]
/external/mesa3d/src/gallium/drivers/swr/
Dswr_shader.cpp635 unsigned vs_slot = locate_linkage(semantic_name, semantic_idx, &ctx->vs->info.base); in CompileGS() local
637 vs_slot += VERTEX_ATTRIB_START_SLOT; in CompileGS()
640 vs_slot--; in CompileGS()
643 vs_slot = VERTEX_POSITION_SLOT; in CompileGS()
645 STORE(C(vs_slot), vtxAttribMap, {0, slot}); in CompileGS()
646 mapConstants.push_back(C(vs_slot)); in CompileGS()