Searched refs:gs_ngg_scratch (Results 1 - 6 of 6) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm.c881 assert(!ctx->gs_ngg_scratch);
883 ctx->gs_ngg_scratch =
885 LLVMSetInitializer(ctx->gs_ngg_scratch, LLVMGetUndef(ai32));
886 LLVMSetAlignment(ctx->gs_ngg_scratch, 4);
905 if (!ctx->gs_ngg_scratch && (sel->so.num_outputs || shader->key.opt.ngg_culling)) {
907 ctx->gs_ngg_scratch =
909 LLVMSetInitializer(ctx->gs_ngg_scratch, LLVMGetUndef(asi32));
910 LLVMSetAlignment(ctx->gs_ngg_scratch, 4);
H A Dsi_shader_internal.h153 LLVMValueRef gs_ngg_scratch; member in struct:si_shader_context
H A Dgfx10_shader_ngg.c267 * Writes number of emitted primitives to gs_ngg_scratch[4:8].
269 * Clobbers gs_ngg_scratch[8:].
335 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tid);
381 tmp2 = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tmp2);
456 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tmp);
476 &ctx->ac, ctx->gs_ngg_scratch, LLVMConstInt(ctx->ac.i32, 12 + 8 * stream, false));
498 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, ac_get_thread_id(&ctx->ac));
1045 si_build_gep_i8_var(ctx, ctx->gs_ngg_scratch, get_wave_id_in_tg(ctx)));
1053 load_vertex_counts(ctx, ctx->gs_ngg_scratch, max_waves, tid, &new_num_es_threads,
1702 LLVMValueRef scratchptr = ctx->gs_ngg_scratch;
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_nir_to_llvm.c75 LLVMValueRef gs_ngg_scratch; member in struct:radv_shader_context
1700 LLVMValueRef scratchptr = ctx->gs_ngg_scratch;
1779 ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, LLVMConstInt(ctx->ac.i32, stream, false)),
1806 tmp = LLVMBuildLoad(builder, ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tid), "");
1861 vertlive_scan.scratch = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, ctx->ac.i32_0);
2474 ctx.gs_ngg_scratch =
2476 LLVMSetInitializer(ctx.gs_ngg_scratch, LLVMGetUndef(ai32));
2477 LLVMSetAlignment(ctx.gs_ngg_scratch, 4);
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D20.2.0.rst3393 - radeonsi: add a common function for getting the size of gs_ngg_scratch
H A D20.3.0.rst3315 - radeonsi: add a common function for getting the size of gs_ngg_scratch

Completed in 23 milliseconds