Searched refs:dzdy (Results 1 – 7 of 7) sorted by relevance
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_quad_depth_test_tmp.h | 59 const float dzdy = quads[0]->posCoef->dady[2]; in NAME() local 60 const float z0 = quads[0]->posCoef->a0[2] + dzdx * fx + dzdy * fy; in NAME() 69 init_idepth[2] = (ushort)((z0 + dzdy) * scale); in NAME() 70 init_idepth[3] = (ushort)((z0 + dzdx + dzdy) * scale); in NAME()
|
D | sp_quad_depth_test.c | 139 const float dzdy = quad->posCoef->dady[2]; in interpolate_quad_depth() local 140 const float z0 = quad->posCoef->a0[2] + dzdx * fx + dzdy * fy; in interpolate_quad_depth() 144 quad->output.depth[2] = z0 + dzdy; in interpolate_quad_depth() 145 quad->output.depth[3] = z0 + dzdx + dzdy; in interpolate_quad_depth()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_offset.c | 91 float dzdy = fabsf(b * inv_det); in do_offset_tri() local 95 mult = MAX2(dzdx, dzdy) * offset->scale; in do_offset_tri()
|
/external/mesa3d/src/mesa/swrast_setup/ |
D | ss_tritmp.h | 146 const GLfloat dzdy = fabsf((ez * fx - ex * fz) * oneOverArea); in TAG() local 147 offset += MAX2(dzdx, dzdy) * ctx->Polygon.OffsetFactor; in TAG()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_setup.c | 218 LLVMValueRef dzdxdzdy, dzdx, dzdy, dzxyz20, dyzzx01, dyzzx01_dzxyz20, dzx01_dyz20; in lp_do_offset_tri() local 257 dzdy = LLVMBuildExtractElement(b, dzdxdzdy, onei, ""); in lp_do_offset_tri() 260 max = LLVMBuildFCmp(b, LLVMRealUGT, dzdx, dzdy, ""); in lp_do_offset_tri() 261 max_value = LLVMBuildSelect(b, max, dzdx, dzdy, "max"); in lp_do_offset_tri()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | rasterizer_impl.h | 475 float dzdy = fabsf(pDesc->recipDet * (pDesc->Z[0] * pDesc->I[1] + pDesc->Z[1] * pDesc->J[1])); 477 return std::max(dzdx, dzdy);
|
/external/deqp/framework/referencerenderer/ |
D | rrRenderer.cpp | 962 const float dzdy = dyDir.x() * a.z() + dyDir.y() * b.z(); in findTriangleVertexDepthSlope() local 965 return de::max(de::abs(dzdx), de::abs(dzdy)); in findTriangleVertexDepthSlope()
|