/external/mesa3d/src/mesa/swrast/ |
D | s_aatriangle.c | 195 const GLfloat dy0 = v1[1] - v0[1]; in compute_coveragef() local 203 assert(dx0 * dy1 - dx1 * dy0 >= 0.0); /* area >= 0.0 */ in compute_coveragef() 209 GLfloat cross = (dx0 * (sy - v0[1]) - dy0 * (sx - v0[0])); in compute_coveragef() 214 cross = dx0 + dy0; in compute_coveragef()
|
D | s_aaline.c | 283 const GLfloat area = dx0 * dy1 - dx1 * dy0; in compute_coveragef()
|
/external/tensorflow/tensorflow/core/ops/ |
D | array_grad_test.cc | 77 std::vector<Tensor> UnpackGrad(const Tensor& x, const Tensor& dy0, in UnpackGrad() argument 96 {"dy0:0", dy0}, in UnpackGrad() 107 Tensor dy0(DT_FLOAT, {2, 3}); in TEST() local 109 test::FillIota<float>(&dy0, 0); in TEST() 111 auto dx = UnpackGrad(x, dy0, dy1, 0); in TEST() 213 std::vector<Tensor> SplitGrad(int dim, const Tensor& x, const Tensor& dy0, in SplitGrad() argument 233 {"dy0:0", dy0}, in SplitGrad() 242 int dim, const Tensor& dy0, const Tensor& dy1) { in SplitVGrad() argument 266 {"dy0:0", dy0}, in SplitVGrad() 277 Tensor dy0(DT_FLOAT, {2, 2, 5}); in TEST() local [all …]
|
/external/skia/src/gpu/mtl/ |
D | GrMtlCopyManager.mm | 162 float dy0 = 2.f * dstPoint.fY / dh - 1.f; 165 dy0 = -dy0; 187 {dx1 - dx0, dy1 - dy0, dx0, dy0}, // posXform
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlCopyManager.mm | 162 float dy0 = 2.f * dstPoint.fY / dh - 1.f; 165 dy0 = -dy0; 187 {dx1 - dx0, dy1 - dy0, dx0, dy0}, // posXform
|
/external/skia/src/gpu/vk/ |
D | GrVkCopyManager.cpp | 203 float dy0 = 2.f * dstPoint.fY / dh - 1.f; in copySurfaceAsDraw() local 206 dy0 = -dy0; in copySurfaceAsDraw() 227 float uniData[] = { dx1 - dx0, dy1 - dy0, dx0, dy0, // posXform in copySurfaceAsDraw()
|
/external/skqp/src/gpu/vk/ |
D | GrVkCopyManager.cpp | 203 float dy0 = 2.f * dstPoint.fY / dh - 1.f; in copySurfaceAsDraw() local 206 dy0 = -dy0; in copySurfaceAsDraw() 227 float uniData[] = { dx1 - dx0, dy1 - dy0, dx0, dy0, // posXform in copySurfaceAsDraw()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_compile_sf.c | 38 struct brw_reg dy0; member 290 c->dy0 = brw_vec1_grf(1, 5); in alloc_regs() 493 brw_MAC(p, c->tmp, c->a2_sub_a0, negate(c->dy0)); in brw_emit_tri_setup() 573 brw_MUL(p, c->tmp, c->a1_sub_a0, c->dy0); in brw_emit_line_setup()
|
/external/swiftshader/src/Device/ |
D | Renderer.cpp | 1483 float dy0 = lineWidth * 0.5f * P0.w / H; in setupLine() local 1491 P[1].y += +dy0; in setupLine() 1497 P[3].y += -dy0; in setupLine()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 3665 GrGLfloat dy0 = 2.f * dstPoint.fY / dh - 1.f; in copySurfaceAsDraw() local 3668 dy0 = -dy0; in copySurfaceAsDraw() 3690 GL_CALL(Uniform4f(fCopyPrograms[progIdx].fPosXformUniform, dx1 - dx0, dy1 - dy0, dx0, dy0)); in copySurfaceAsDraw()
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpu.cpp | 3637 GrGLfloat dy0 = 2.f * dstPoint.fY / dh - 1.f; in copySurfaceAsDraw() local 3640 dy0 = -dy0; in copySurfaceAsDraw() 3662 GL_CALL(Uniform4f(fCopyPrograms[progIdx].fPosXformUniform, dx1 - dx0, dy1 - dy0, dx0, dy0)); in copySurfaceAsDraw()
|
/external/swiftshader/src/Renderer/ |
D | Renderer.cpp | 1861 float dy0 = lineWidth * 0.5f * P0.w / H; in setupLine() local 1869 P[1].y += +dy0; in setupLine() 1875 P[3].y += -dy0; in setupLine()
|