Searched refs:ndc (Results 1 - 5 of 5) sorted by relevance
/third_party/mesa3d/src/mesa/main/ |
H A D | rastpos.c | 408 GLfloat eye[4], clip[4], ndc[3], d; in _mesa_RasterPos() local 444 /* ndc = clip / W */ in _mesa_RasterPos() 446 ndc[0] = clip[0] * d; in _mesa_RasterPos() 447 ndc[1] = clip[1] * d; in _mesa_RasterPos() 448 ndc[2] = clip[2] * d; in _mesa_RasterPos() 449 /* wincoord = viewport_mapping(ndc) */ in _mesa_RasterPos() 451 ctx->Current.RasterPos[0] = ndc[0] * scale[0] + translate[0]; in _mesa_RasterPos() 452 ctx->Current.RasterPos[1] = ndc[1] * scale[1] + translate[1]; in _mesa_RasterPos() 453 ctx->Current.RasterPos[2] = ndc[2] * scale[2] + translate[2]; in _mesa_RasterPos()
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_vec4_visitor.cpp | 812 /* Build ndc coords, which are (x/w, y/w, z/w, 1/w) */ in emit_ndc_computation() 813 dst_reg ndc = dst_reg(this, glsl_type::vec4_type); in emit_ndc_computation() local 814 output_reg[BRW_VARYING_SLOT_NDC][0] = ndc; in emit_ndc_computation() 818 dst_reg ndc_w = ndc; in emit_ndc_computation() 824 dst_reg ndc_xyz = ndc; in emit_ndc_computation() 871 * set ndc = (0,0,0,0) in emit_psiz_and_flags()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | TranslatorVulkan.cpp | 339 // "vec2 ndc = gl_Position.xy / gl_Position.w" in AddBresenhamEmulationVS() 345 TVariable *ndc = CreateTempVariable(symbolTable, vec2Type); in AddBresenhamEmulationVS() local 347 TIntermDeclaration *ndcDecl = CreateTempInitDeclarationNode(ndc, noPerspective); in AddBresenhamEmulationVS() 350 // "vec2 window = 0.5 * viewport.wh * (ndc + 1) + viewport.xy" in AddBresenhamEmulationVS() 352 new TIntermBinary(EOpAdd, CreateTempSymbolNode(ndc), CreateFloatNode(1.0f, EbpMedium)); in AddBresenhamEmulationVS()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/ |
H A D | flag_test.cc | 825 std::string AbslUnparseFlag(const NonDfltConstructible& ndc) { in AbslUnparseFlag() argument 826 return absl::StrCat(ndc.value); in AbslUnparseFlag()
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
H A D | phonenumberutil.cc | 2670 string ndc; in GetLengthOfNationalDestinationCode() local 2679 ndc = digit_group; in GetLengthOfNationalDestinationCode() 2698 return static_cast<int>(ndc.size()); in GetLengthOfNationalDestinationCode()
|
Completed in 17 milliseconds