Searched refs:halfSize (Results 1 – 7 of 7) sorted by relevance
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
D | nv50_ir_build_util.cpp | 282 BuildUtil::mkSplit(Value *h[2], uint8_t halfSize, Value *val) in mkSplit() argument 286 const DataType fTy = typeOfSize(halfSize * 2); in mkSplit() 289 val = mkMov(getSSA(halfSize * 2), val, fTy)->getDef(0); in mkSplit() 294 h[0]->reg.size = halfSize; in mkSplit() 295 h[1]->reg.size = halfSize; in mkSplit() 296 h[1]->reg.data.offset += halfSize; in mkSplit() 298 h[0] = getSSA(halfSize, val->reg.file); in mkSplit() 299 h[1] = getSSA(halfSize, val->reg.file); in mkSplit()
|
D | nv50_ir_lowering_nv50.cpp | 56 unsigned int halfSize = typeSizeof(hTy); in expandIntegerMUL() local 69 i[0] = bld->mkSplit(a, halfSize, mul->getSrc(0)); in expandIntegerMUL() 70 i[1] = bld->mkSplit(b, halfSize, mul->getSrc(1)); in expandIntegerMUL() 74 i[7] = bld->mkOp2(OP_SHL, fTy, t[2], t[1], bld->mkImm(halfSize * 8)); in expandIntegerMUL() 79 Value *imm = bld->loadImm(NULL, 1 << (halfSize * 8)); in expandIntegerMUL() 85 i[8] = bld->mkOp2(OP_SHR, fTy, r[0], t[1], bld->mkImm(halfSize * 8)); in expandIntegerMUL()
|
D | nv50_ir_build_util.h | 84 Instruction *mkSplit(Value *half[2], uint8_t halfSize, Value *);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/ |
D | particles.vertex.glsl | 98 float halfSize = 0.5*a_sizeAndRotation.x; 100 vec4 projCorner = u_projTrans * vec4(halfSize, halfSize, eyePos.z, eyePos.w);
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_setup.c | 1204 const float halfSize = 0.5F * size; in sp_setup_point() local 1275 if (halfSize <= 0.5 && !round) { in sp_setup_point() 1287 const int ixmin = block((int) (x - halfSize)); in sp_setup_point() 1288 const int ixmax = block((int) (x + halfSize)); in sp_setup_point() 1289 const int iymin = block((int) (y - halfSize)); in sp_setup_point() 1290 const int iymax = block((int) (y + halfSize)); in sp_setup_point() 1291 const float rmin = halfSize - 0.7071F; /* 0.7071 = sqrt(2)/2 */ in sp_setup_point() 1292 const float rmax = halfSize + 0.7071F; in sp_setup_point() 1350 const int xmin = (int) (x + 0.75 - halfSize); in sp_setup_point() 1351 const int ymin = (int) (y + 0.25 - halfSize); in sp_setup_point()
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
D | TerrainQuad.java | 808 int halfSize = size >> 1; 819 Vector3f origin1 = new Vector3f(-halfSize * stepScale.x, 0, -halfSize 842 Vector3f origin2 = new Vector3f(-halfSize * stepScale.x, 0, 0); 864 Vector3f origin3 = new Vector3f(0, 0, -halfSize * stepScale.z); 997 int halfSize = totalSize / 2; 998 int x = Math.round((xz.x / getWorldScale().x) + halfSize); 999 int z = Math.round((xz.y / getWorldScale().z) + halfSize); 1200 int halfSize = totalSize / 2; 1206 int x = Math.round((xz.get(i).x / getWorldScale().x) + halfSize); 1207 int z = Math.round((xz.get(i).y / getWorldScale().z) + halfSize);
|
/external/skia/tools/ |
D | sk_tool_utils.cpp | 251 const SkPoint halfSize = SkPoint::Make(dst.width() / 2.0f, dst.height() / 2.0f); in create_hemi_normal_map() local 257 norm.fX = (x + 0.5f - center.fX) / halfSize.fX; in create_hemi_normal_map() 258 norm.fY = (y + 0.5f - center.fY) / halfSize.fY; in create_hemi_normal_map()
|