Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm.c857 assert(!ctx->gs_ngg_scratch); in si_llvm_translate_nir()
859 ctx->gs_ngg_scratch = in si_llvm_translate_nir()
861 LLVMSetInitializer(ctx->gs_ngg_scratch, LLVMGetUndef(ai32)); in si_llvm_translate_nir()
862 LLVMSetAlignment(ctx->gs_ngg_scratch, 4); in si_llvm_translate_nir()
940 if (!ctx->gs_ngg_scratch && (ctx->so.num_outputs || shader->key.ge.opt.ngg_culling)) { in si_llvm_translate_nir()
942 ctx->gs_ngg_scratch = in si_llvm_translate_nir()
944 LLVMSetInitializer(ctx->gs_ngg_scratch, LLVMGetUndef(asi32)); in si_llvm_translate_nir()
945 LLVMSetAlignment(ctx->gs_ngg_scratch, 4); in si_llvm_translate_nir()
Dgfx10_shader_ngg.c345 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tid); in build_streamout()
452 tmp2 = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tmp2); in build_streamout()
546 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tmp); in build_streamout()
567 &ctx->ac, ctx->gs_ngg_scratch, LLVMConstInt(ctx->ac.i32, 12 + 8 * stream, false)); in build_streamout()
590 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, ac_get_thread_id(&ctx->ac)); in build_streamout()
1257 si_build_gep_i8_var(ctx, ctx->gs_ngg_scratch, get_wave_id_in_tg(ctx))); in gfx10_ngg_culling_build_end()
1266 load_vertex_counts(ctx, ctx->gs_ngg_scratch, max_waves, tid, &new_num_es_threads, in gfx10_ngg_culling_build_end()
1930 LLVMValueRef scratchptr = ctx->gs_ngg_scratch; in gfx10_ngg_gs_emit_begin()
2022 ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, LLVMConstInt(ctx->ac.i32, stream, false)), in gfx10_ngg_gs_build_end()
2084 … tmp = LLVMBuildLoad2(builder, ctx->ac.i32, ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tid), ""); in gfx10_ngg_gs_build_end()
[all …]
Dsi_shader_internal.h147 LLVMValueRef gs_ngg_scratch; member
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c1417 LLVMValueRef gs_ngg_scratch = in ac_translate_nir_to_llvm() local
1419 LLVMSetInitializer(gs_ngg_scratch, LLVMGetUndef(ai32)); in ac_translate_nir_to_llvm()
1420 LLVMSetLinkage(gs_ngg_scratch, LLVMExternalLinkage); in ac_translate_nir_to_llvm()
1421 LLVMSetAlignment(gs_ngg_scratch, 4); in ac_translate_nir_to_llvm()
/third_party/mesa3d/docs/relnotes/
D20.3.0.rst3315 - radeonsi: add a common function for getting the size of gs_ngg_scratch
D20.2.0.rst3393 - radeonsi: add a common function for getting the size of gs_ngg_scratch