Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c1632 const unsigned verts_per_prim = u_vertices_per_prim(sel->info.base.gs.output_primitive); in gfx10_ngg_gs_emit_epilogue() local
1698 nggso.num_vertices = LLVMConstInt(ctx->ac.i32, verts_per_prim, false); in gfx10_ngg_gs_emit_epilogue()
1711 for (unsigned i = 0; i < verts_per_prim; ++i) { in gfx10_ngg_gs_emit_epilogue()
1712 tmp = LLVMBuildSub(builder, tid, LLVMConstInt(ctx->ac.i32, verts_per_prim - i - 1, false), in gfx10_ngg_gs_emit_epilogue()
1761 for (unsigned i = 0; i < verts_per_prim; ++i) { in gfx10_ngg_gs_emit_epilogue()
1837 prim.num_vertices = verts_per_prim; in gfx10_ngg_gs_emit_epilogue()
1843 for (unsigned i = 0; i < verts_per_prim; ++i) { in gfx10_ngg_gs_emit_epilogue()
1845 LLVMConstInt(ctx->ac.i32, verts_per_prim - i - 1, false), ""); in gfx10_ngg_gs_emit_epilogue()
1850 if (verts_per_prim == 3) { in gfx10_ngg_gs_emit_epilogue()
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c2960 const unsigned verts_per_prim = si_conv_gl_prim_to_vertices(ctx->shader->info.gs.output_primitive); in gfx10_ngg_gs_emit_epilogue_2() local
2973 nggso.num_vertices = LLVMConstInt(ctx->ac.i32, verts_per_prim, false); in gfx10_ngg_gs_emit_epilogue_2()
2987 for (unsigned i = 0; i < verts_per_prim; ++i) { in gfx10_ngg_gs_emit_epilogue_2()
2989 LLVMConstInt(ctx->ac.i32, verts_per_prim - i - 1, false), ""); in gfx10_ngg_gs_emit_epilogue_2()
3032 for (unsigned i = 0; i < verts_per_prim; ++i) { in gfx10_ngg_gs_emit_epilogue_2()
3114 prim.num_vertices = verts_per_prim; in gfx10_ngg_gs_emit_epilogue_2()
3121 for (unsigned i = 0; i < verts_per_prim; ++i) { in gfx10_ngg_gs_emit_epilogue_2()
3123 LLVMConstInt(ctx->ac.i32, verts_per_prim - i - 1, false), ""); in gfx10_ngg_gs_emit_epilogue_2()
3133 if (verts_per_prim == 3) { in gfx10_ngg_gs_emit_epilogue_2()