Home
last modified time | relevance | path

Searched refs:tess_coord (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/freedreno/ir3/
Dir3_context.h98 struct ir3_instruction *tess_coord; member
Dir3_compiler_nir.c1562 if (!ctx->tess_coord) { in emit_intrinsic()
1563 ctx->tess_coord = in emit_intrinsic()
1566 ir3_split_dest(b, dst, ctx->tess_coord, 0, 2); in emit_intrinsic()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c3867 LLVMValueRef tess_coord[2], io_ptr, input_array, num_tess_coord; in draw_tes_llvm_generate() local
3920 tess_coord[0] = LLVMGetParam(variant_func, 5); in draw_tes_llvm_generate()
3921 tess_coord[1] = LLVMGetParam(variant_func, 6); in draw_tes_llvm_generate()
3931 lp_build_name(tess_coord[0], "tess_coord[0]"); in draw_tes_llvm_generate()
3932 lp_build_name(tess_coord[1], "tess_coord[1]"); in draw_tes_llvm_generate()
3983 …system_values.tess_coord = LLVMGetUndef(LLVMArrayType(LLVMVectorType(flt_type, vector_length), 3)); in draw_tes_llvm_generate()
3992 … tc_val = LLVMBuildFSub(builder, tc_val, lp_build_pointer_get(builder, tess_coord[0], idx), ""); in draw_tes_llvm_generate()
3993 … tc_val = LLVMBuildFSub(builder, tc_val, lp_build_pointer_get(builder, tess_coord[1], idx), ""); in draw_tes_llvm_generate()
3997 tc_val = lp_build_pointer_get(builder, tess_coord[i], idx); in draw_tes_llvm_generate()
4001 …system_values.tess_coord = LLVMBuildInsertValue(builder, system_values.tess_coord, tess_coord_chan… in draw_tes_llvm_generate()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.h182 LLVMValueRef tess_coord; member
Dlp_bld_nir_soa.c1529 result[i] = LLVMBuildExtractValue(gallivm->builder, bld->system_values.tess_coord, i, ""); in emit_sysval_intrin()
Dlp_bld_tgsi_soa.c1549 …LLVMValueRef array_indexed = LLVMBuildGEP(gallivm->builder, bld->system_values.tess_coord, index, … in emit_fetch_system_value()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_shader.cpp1824 Value* tess_coord = ALLOCA(ArrayType::get(mSimdFP32Ty, 3)); in CompileTES() local
1827 STORE(tessCoordU, tess_coord, {0, 0}); in CompileTES()
1829 STORE(tessCoordV, tess_coord, {0, 1}); in CompileTES()
1831 STORE(tessCoordW, tess_coord, {0, 2}); in CompileTES()
1832 system_values.tess_coord = wrap(tess_coord); in CompileTES()
1859 lp_build_print_value(gallivm, "tess_coord = ", system_values.tess_coord); in CompileTES()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp5060 Temp tess_coord = bld.pseudo(aco_opcode::p_create_vector, Definition(dst), tes_u, tes_v, tes_w); in visit_load_tess_coord() local
5061 emit_split_vector(ctx, tess_coord, 3); in visit_load_tess_coord()