Searched refs:vtxindex (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | gfx10_shader_ngg.c | 842 LLVMValueRef vtxindex[3]; in gfx10_emit_ngg_culling_epilogue() local 847 vtxindex[0] = ac_get_arg(&ctx->ac, ctx->gs_vtx01_offset); in gfx10_emit_ngg_culling_epilogue() 848 vtxindex[1] = ac_get_arg(&ctx->ac, ctx->gs_vtx23_offset); in gfx10_emit_ngg_culling_epilogue() 849 vtxindex[2] = ac_get_arg(&ctx->ac, ctx->gs_vtx45_offset); in gfx10_emit_ngg_culling_epilogue() 851 vtxindex[0] = si_unpack_param(ctx, ctx->gs_vtx01_offset, 0, 16); in gfx10_emit_ngg_culling_epilogue() 852 vtxindex[1] = si_unpack_param(ctx, ctx->gs_vtx01_offset, 16, 16); in gfx10_emit_ngg_culling_epilogue() 853 vtxindex[2] = si_unpack_param(ctx, ctx->gs_vtx23_offset, 0, 16); in gfx10_emit_ngg_culling_epilogue() 856 ngg_nogs_vertex_ptr(ctx, vtxindex[0]), in gfx10_emit_ngg_culling_epilogue() 857 ngg_nogs_vertex_ptr(ctx, vtxindex[1]), in gfx10_emit_ngg_culling_epilogue() 858 ngg_nogs_vertex_ptr(ctx, vtxindex[2]), in gfx10_emit_ngg_culling_epilogue() [all …]
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 2716 LLVMValueRef vtxindex[] = { in handle_ngg_outputs_post_2() local 2754 nggso.vertices[i] = ngg_nogs_vertex_ptr(ctx, vtxindex[i]); in handle_ngg_outputs_post_2() 2773 LLVMValueRef indices = ac_build_gather_values(&ctx->ac, vtxindex, 3); in handle_ngg_outputs_post_2() 2806 memcpy(prim.index, vtxindex, sizeof(vtxindex[0]) * 3); in handle_ngg_outputs_post_2()
|
/external/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.cpp | 11174 Temp ngg_pack_prim_exp_arg(isel_context *ctx, unsigned num_vertices, const Temp vtxindex[], const T… in ngg_pack_prim_exp_arg() argument 11185 assert(vtxindex[i].id()); in ngg_pack_prim_exp_arg() 11188 tmp = bld.vop3(aco_opcode::v_lshl_or_b32, bld.def(v1), vtxindex[i], Operand(10u * i), tmp); in ngg_pack_prim_exp_arg() 11190 tmp = vtxindex[i]; in ngg_pack_prim_exp_arg() 11205 …port(isel_context *ctx, unsigned num_vertices_per_primitive, const Temp vtxindex[], const Temp is_… in ngg_emit_prim_export() argument 11213 prim_exp_arg = ngg_pack_prim_exp_arg(ctx, num_vertices_per_primitive, vtxindex, is_null); in ngg_emit_prim_export() 11250 Temp vtxindex[max_vertices_per_primitive]; in ngg_nogs_export_primitives() local 11252 vtxindex[0] = bld.vop2(aco_opcode::v_and_b32, bld.def(v1), Operand(0xffffu), in ngg_nogs_export_primitives() 11254 vtxindex[1] = num_vertices_per_primitive < 2 ? Temp(0, v1) : in ngg_nogs_export_primitives() 11257 vtxindex[2] = num_vertices_per_primitive < 3 ? Temp(0, v1) : in ngg_nogs_export_primitives() [all …]
|