Home
last modified time | relevance | path

Searched refs:dy0 (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_aatriangle.c195 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()
Ds_aaline.c283 const GLfloat area = dx0 * dy1 - dx1 * dy0; in compute_coveragef()
/external/tensorflow/tensorflow/core/ops/
Darray_grad_test.cc77 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/
DGrMtlCopyManager.mm162 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/
DGrMtlCopyManager.mm162 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/
DGrVkCopyManager.cpp203 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/
DGrVkCopyManager.cpp203 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/
Dbrw_compile_sf.c38 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/
DRenderer.cpp1483 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/
DGrGLGpu.cpp3665 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/
DGrGLGpu.cpp3637 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/
DRenderer.cpp1861 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()