Searched refs:vertex_idx (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_tess.c | 68 int vertex_idx = prim_id * num_vertices + i; in llvm_fetch_tcs_input() local 70 vertex_idx = input_prim_info->elts[vertex_idx]; in llvm_fetch_tcs_input() 75 input = (const float (*)[4])((const char *)input_ptr + (vertex_idx * input_vertex_stride)); in llvm_fetch_tcs_input() 232 int vertex_idx = prim_id * num_vertices + i; in llvm_fetch_tes_input() local 235 vertex_idx = input_prim_info->elts[vertex_idx]; in llvm_fetch_tes_input() 240 input = (const float (*)[4])((const char *)input_ptr + (vertex_idx * input_vertex_stride)); in llvm_fetch_tes_input()
|
D | draw_vs_variant.c | 84 unsigned vertex_idx, in find_viewport() argument 89 char *ptr = buffer + vertex_idx * stride; in find_viewport()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm_gs.c | 160 LLVMValueRef vertex_idx = ac_get_thread_id(&ctx->ac); in si_llvm_emit_es_epilogue() local 162 vertex_idx = in si_llvm_emit_es_epilogue() 163 LLVMBuildOr(ctx->ac.builder, vertex_idx, in si_llvm_emit_es_epilogue() 168 LLVMBuildMul(ctx->ac.builder, vertex_idx, LLVMConstInt(ctx->ac.i32, itemsize_dw, 0), ""); in si_llvm_emit_es_epilogue()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 1958 LLVMValueRef vertex_idx = ac_get_thread_id(&ctx->ac); in handle_es_outputs_post() local 1962 vertex_idx = LLVMBuildOr(ctx->ac.builder, vertex_idx, in handle_es_outputs_post() 1966 lds_base = LLVMBuildMul(ctx->ac.builder, vertex_idx, in handle_es_outputs_post()
|
/external/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.cpp | 4009 Temp ngg_gs_vertex_lds_addr(isel_context *ctx, Temp vertex_idx) in ngg_gs_vertex_lds_addr() argument 4016 Temp row = bld.vop2(aco_opcode::v_lshrrev_b32, bld.def(v1), Operand(5u), vertex_idx); in ngg_gs_vertex_lds_addr() 4018 vertex_idx = bld.vop2(aco_opcode::v_xor_b32, bld.def(v1), vertex_idx, swizzle); in ngg_gs_vertex_lds_addr() 4021 Temp vertex_idx_bytes = bld.v_mul24_imm(bld.def(v1), vertex_idx, ctx->ngg_gs_emit_vtx_bytes); in ngg_gs_vertex_lds_addr() 4035 Temp vertex_idx = bld.vadd32(bld.def(v1), thread_vertices_addr, emit_vertex_idx); in ngg_gs_emit_vertex_lds_addr() local 4037 return ngg_gs_vertex_lds_addr(ctx, vertex_idx); in ngg_gs_emit_vertex_lds_addr() 4344 Temp vertex_idx = thread_id_in_threadgroup(ctx); in visit_store_ls_or_es_output() local 4345 lds_base = bld.v_mul24_imm(bld.def(v1), vertex_idx, itemsize); in visit_store_ls_or_es_output() 4350 Temp vertex_idx = get_arg(ctx, ctx->args->rel_auto_id); in visit_store_ls_or_es_output() local 4351 lds_base = bld.v_mul24_imm(bld.def(v1), vertex_idx, ctx->tcs_num_inputs * 16u); in visit_store_ls_or_es_output()
|