Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c2739 LLVMValueRef mask_val = lp_build_const_vec(gallivm, mask_type, 0); in generate_mask_value() local
2746 mask_val = LLVMBuildInsertElement(builder, mask_val, idx, idx, ""); in generate_mask_value()
2748 mask_val = lp_build_compare(gallivm, mask_type, in generate_mask_value()
2749 PIPE_FUNC_GREATER, num_prims, mask_val); in generate_mask_value()
2751 return mask_val; in generate_mask_value()
2768 LLVMValueRef io_ptr, input_array, num_prims, mask_val; in draw_gs_llvm_generate() local
2874 mask_val = generate_mask_value(variant, gs_type); in draw_gs_llvm_generate()
2875 lp_build_mask_begin(&mask, gallivm, gs_type, mask_val); in draw_gs_llvm_generate()
3330 LLVMValueRef mask_val = lp_build_const_vec(gallivm, mask_type, 0); in generate_tcs_mask_value() local
3336mask_val = LLVMBuildInsertElement(builder, mask_val, LLVMBuildAdd(builder, loop_counter, idx, ""),… in generate_tcs_mask_value()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_cs.c385 …LLVMValueRef mask_val = lp_build_alloca(gallivm, LLVMVectorType(int32_type, cs_type.length), "mask… in generate_compute() local
387 LLVMBuildStore(gallivm->builder, full_mask_val, mask_val); in generate_compute()
392 LLVMValueRef tmask_val = LLVMBuildLoad(gallivm->builder, mask_val, ""); in generate_compute()
394 LLVMBuildStore(gallivm->builder, tmask_val, mask_val); in generate_compute()
398 mask_val = LLVMBuildLoad(gallivm->builder, mask_val, ""); in generate_compute()
399 lp_build_mask_begin(&mask, gallivm, cs_type, mask_val); in generate_compute()
434 mask_val = lp_build_mask_end(&mask); in generate_compute()
Dlp_state_fs.c586 LLVMValueRef mask_ptr = NULL, mask_val = NULL; in generate_fs_loop() local
735 mask_val = s_mask; in generate_fs_loop()
737 mask_val = LLVMBuildOr(builder, s_mask, mask_val, ""); in generate_fs_loop()
746 mask_val = LLVMBuildLoad(builder, mask_ptr, ""); in generate_fs_loop()
748 …LLVMValueRef mask_in = LLVMBuildAnd(builder, mask_val, lp_build_const_int_vec(gallivm, type, 1), "… in generate_fs_loop()
753 lp_build_mask_begin(&mask, gallivm, type, mask_val); in generate_fs_loop()
808 s_mask = LLVMBuildAnd(builder, s_mask, mask_val, ""); in generate_fs_loop()
1267 mask_val = lp_build_mask_end(&mask); in generate_fs_loop()
1269 LLVMBuildStore(builder, mask_val, mask_ptr); in generate_fs_loop()
2170 LLVMValueRef mask_val = lp_build_const_int_vec(gallivm, src_type, (1UL << sz_a) - 1); in convert_from_blend_type() local
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/audio/kernels/
Daudio_utils.cc387 auto mask_val = static_cast<float>(mask_value); in MaskAlongAxis() local
388 CHECK_FAIL_RETURN_UNEXPECTED(memcpy_s(start_mem_pos, cell_size, &mask_val, cell_size) == 0, in MaskAlongAxis()
404 auto mask_val = static_cast<float>(mask_value); in MaskAlongAxis() local
405 CHECK_FAIL_RETURN_UNEXPECTED(memcpy_s(start_mem_pos, cell_size, &mask_val, cell_size) == 0, in MaskAlongAxis()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_soa.c900 LLVMValueRef mask_val = lp_build_const_int_vec(gallivm, type, chan_mask); in lp_build_insert_soa_chan() local
901 LLVMValueRef mask = LLVMBuildICmp(builder, LLVMIntUGT, chan, mask_val, ""); in lp_build_insert_soa_chan()
902 chan = LLVMBuildSelect(builder, mask, mask_val, chan, ""); in lp_build_insert_soa_chan()
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_shader.cpp1614 Value *mask_val = LOAD(pGsCtx, {0, SWR_GS_CONTEXT_mask}, "gsMask"); in CompileGS() local
1616 lp_type_float_vec(32, 32 * 8), wrap(mask_val)); in CompileGS()
1937 Value *mask_val = LOAD(pTesCtx, {0, SWR_DS_CONTEXT_mask}, "tesMask"); in CompileTES() local
1940 lp_build_print_value(gallivm, "TES execution mask: ", wrap(mask_val)); in CompileTES()
1943 lp_type_float_vec(32, 32 * 8), wrap(mask_val)); in CompileTES()
2193 Value *mask_val = LOAD(pTcsCtx, {0, SWR_HS_CONTEXT_mask}, "tcsMask"); in CompileTCS() local
2195 &mask, gallivm, lp_type_float_vec(32, 32 * 8), wrap(mask_val)); in CompileTCS()