Searched refs:asi32 (Results 1 – 2 of 2) sorted by relevance
1421 LLVMTypeRef asi32 = LLVMArrayType(ctx->ac.i32, gfx10_ngg_get_scratch_dw_size(shader)); in si_build_main_function() local1423 LLVMAddGlobalInAddressSpace(ctx->ac.module, asi32, "ngg_scratch", AC_ADDR_SPACE_LDS); in si_build_main_function()1424 LLVMSetInitializer(ctx->gs_ngg_scratch, LLVMGetUndef(asi32)); in si_build_main_function()
3890 LLVMTypeRef asi32 = LLVMArrayType(ctx.ac.i32, 8); in ac_translate_nir_to_llvm() local3892 asi32, "ngg_scratch", AC_ADDR_SPACE_LDS); in ac_translate_nir_to_llvm()3893 LLVMSetInitializer(ctx.gs_ngg_scratch, LLVMGetUndef(asi32)); in ac_translate_nir_to_llvm()