Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_tess.c62 int vs_slot; in llvm_fetch_tcs_input() local
76 for (slot = 0, vs_slot = 0; slot < shader->info.num_inputs; ++slot) { in llvm_fetch_tcs_input()
77 vs_slot = draw_tes_get_input_index( in llvm_fetch_tcs_input()
81 if (vs_slot < 0) { in llvm_fetch_tcs_input()
88 (*input_data)[i][slot][0] = input[vs_slot][0]; in llvm_fetch_tcs_input()
89 (*input_data)[i][slot][1] = input[vs_slot][1]; in llvm_fetch_tcs_input()
90 (*input_data)[i][slot][2] = input[vs_slot][2]; in llvm_fetch_tcs_input()
91 (*input_data)[i][slot][3] = input[vs_slot][3]; in llvm_fetch_tcs_input()
99 ++vs_slot; in llvm_fetch_tcs_input()
226 int vs_slot; in llvm_fetch_tes_input() local
[all …]
Ddraw_gs.c131 int vs_slot; in tgsi_fetch_gs_input() local
151 for (slot = 0, vs_slot = 0; slot < shader->info.num_inputs; ++slot) { in tgsi_fetch_gs_input()
159 vs_slot = draw_gs_get_input_index( in tgsi_fetch_gs_input()
163 if (vs_slot < 0) { in tgsi_fetch_gs_input()
172 slot, vs_slot, idx); in tgsi_fetch_gs_input()
173 assert(!util_is_inf_or_nan(input[vs_slot][0])); in tgsi_fetch_gs_input()
174 assert(!util_is_inf_or_nan(input[vs_slot][1])); in tgsi_fetch_gs_input()
175 assert(!util_is_inf_or_nan(input[vs_slot][2])); in tgsi_fetch_gs_input()
176 assert(!util_is_inf_or_nan(input[vs_slot][3])); in tgsi_fetch_gs_input()
178 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.cpp1598 unsigned vs_slot = locate_linkage(semantic_name, semantic_idx, &ctx->vs->info.base); in CompileGS() local
1599 assert(vs_slot < PIPE_MAX_SHADER_OUTPUTS); in CompileGS()
1601 vs_slot += VERTEX_ATTRIB_START_SLOT; in CompileGS()
1604 vs_slot--; in CompileGS()
1607 vs_slot = VERTEX_POSITION_SLOT; in CompileGS()
1609 STORE(C(vs_slot), vtxAttribMap, {0, slot}); in CompileGS()
1610 mapConstants.push_back(C(vs_slot)); in CompileGS()
2139 unsigned vs_slot = in CompileTCS() local
2141 assert(vs_slot < PIPE_MAX_SHADER_OUTPUTS); in CompileTCS()
2143 vs_slot += VERTEX_ATTRIB_START_SLOT; in CompileTCS()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c3286 int vs_slot = vsinfo->output_semantic_to_slot[semantic]; in si_get_ps_input_cntl() local
3287 if (vs_slot >= 0) { in si_get_ps_input_cntl()
3288 offset = vs->info.vs_output_param_offset[vs_slot]; in si_get_ps_input_cntl()