Searched refs:halfSize (Results 1 – 7 of 7) sorted by relevance
/third_party/mesa3d/src/nouveau/codegen/ |
D | nv50_ir_build_util.cpp | 287 BuildUtil::mkSplit(Value *h[2], uint8_t halfSize, Value *val) in mkSplit() argument 291 const DataType fTy = typeOfSize(halfSize * 2); in mkSplit() 294 val = mkMov(getSSA(halfSize * 2), val, fTy)->getDef(0); in mkSplit() 299 h[0]->reg.size = halfSize; in mkSplit() 300 h[1]->reg.size = halfSize; in mkSplit() 301 h[1]->reg.data.offset += halfSize; in mkSplit() 303 h[0] = getSSA(halfSize, val->reg.file); in mkSplit() 304 h[1] = getSSA(halfSize, val->reg.file); in mkSplit()
|
D | nv50_ir_lowering_nv50.cpp | 83 unsigned int halfSize = typeSizeof(hTy); in expandIntegerMUL() local 107 i[0] = bld->mkSplit(a, halfSize, s[0]); in expandIntegerMUL() 108 i[1] = bld->mkSplit(b, halfSize, s[1]); in expandIntegerMUL() 123 i[7] = bld->mkOp2(OP_SHL, fTy, t[2], t[1], bld->mkImm(halfSize * 8)); in expandIntegerMUL() 134 Value *imm = bld->loadImm(NULL, 1 << (halfSize * 8)); in expandIntegerMUL() 140 i[8] = bld->mkOp2(OP_SHR, fTy, r[0], t[1], bld->mkImm(halfSize * 8)); in expandIntegerMUL()
|
D | nv50_ir_build_util.h | 89 Instruction *mkSplit(Value *half[2], uint8_t halfSize, Value *);
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_setup.c | 1151 const float halfSize = 0.5F * size; in sp_setup_point() local 1238 if (halfSize <= 0.5 && !round) { in sp_setup_point() 1250 const int ixmin = block((int) (x - halfSize)); in sp_setup_point() 1251 const int ixmax = block((int) (x + halfSize)); in sp_setup_point() 1252 const int iymin = block((int) (y - halfSize)); in sp_setup_point() 1253 const int iymax = block((int) (y + halfSize)); in sp_setup_point() 1254 const float rmin = halfSize - 0.7071F; /* 0.7071 = sqrt(2)/2 */ in sp_setup_point() 1255 const float rmax = halfSize + 0.7071F; in sp_setup_point() 1313 const int xmin = (int) (x + 0.75 - halfSize); in sp_setup_point() 1314 const int ymin = (int) (y + 0.25 - halfSize); in sp_setup_point()
|
/third_party/skia/tools/ |
D | ToolUtils.cpp | 280 const SkPoint halfSize = SkPoint::Make(dst.width() / 2.0f, dst.height() / 2.0f); in create_hemi_normal_map() local 286 norm.fX = (x + 0.5f - center.fX) / halfSize.fX; in create_hemi_normal_map() 287 norm.fY = (y + 0.5f - center.fY) / halfSize.fY; in create_hemi_normal_map()
|
/third_party/skia/tests/ |
D | CodecPartialTest.cpp | 334 const size_t halfSize = file->size() / 2; in test_interleaved() local 336 std::make_unique<HaltingStream>(std::move(file), halfSize))); in test_interleaved()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cDrawIndirectTests.cpp | 1680 const int halfSize = dataHeight / 2 * dataWidth; in Run() local 1689 halfSize * sizeof(unsigned int), GL_MAP_WRITE_BIT | GL_MAP_FLUSH_EXPLICIT_BIT); in Run() 1699 quarterSize * sizeof(unsigned int), halfSize * sizeof(unsigned int))); in Run() 1701 memcpy(buf, &dataRef2[quarterSize], halfSize * sizeof(unsigned int)); in Run() 1702 glFlushMappedBufferRange(GL_DRAW_INDIRECT_BUFFER, 0, halfSize * sizeof(unsigned int)); in Run()
|