Searched refs:nggso (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | gfx10_shader_ngg.c | 267 static void build_streamout(struct si_shader_context *ctx, struct ngg_streamout *nggso) in build_streamout() argument 279 unsigned max_num_vertices = 1 + (nggso->vertices[1] ? 1 : 0) + (nggso->vertices[2] ? 1 : 0); in build_streamout() 308 prim_stride_dw[buffer] = LLVMBuildMul(builder, tmp, nggso->num_vertices, ""); in build_streamout() 470 primemit_scan[stream].src = nggso->prim_enable[stream]; in build_streamout() 501 nggso->emit[stream] = in build_streamout() 520 nggso->emit[stream], ""); in build_streamout() 521 tmp = LLVMBuildAnd(builder, tmp, nggso->prim_enable[stream], ""); in build_streamout() 525 LLVMBuildMul(builder, primemit_scan[stream].result_exclusive, nggso->num_vertices, ""); in build_streamout() 529 nggso->num_vertices, ""); in build_streamout() 532 nggso->vertices[i]); in build_streamout() [all …]
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 2326 struct ngg_streamout *nggso) in build_streamout() argument 2337 unsigned max_num_vertices = 1 + (nggso->vertices[1] ? 1 : 0) + in build_streamout() 2338 (nggso->vertices[2] ? 1 : 0); in build_streamout() 2371 nggso->num_vertices, ""); in build_streamout() 2563 primemit_scan[stream].src = nggso->prim_enable[stream]; in build_streamout() 2595 nggso->emit[stream] = ac_build_readlane( in build_streamout() 2615 nggso->emit[stream], ""); in build_streamout() 2616 cond = LLVMBuildAnd(builder, cond, nggso->prim_enable[stream], ""); in build_streamout() 2621 nggso->num_vertices, ""); in build_streamout() 2626 nggso->num_vertices, ""); in build_streamout() [all …]
|