Home
last modified time | relevance | path

Searched refs:dzdx (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_depth_test_tmp.h58 const float dzdx = quads[0]->posCoef->dadx[2]; in NAME() local
60 const float z0 = quads[0]->posCoef->a0[2] + dzdx * fx + dzdy * fy; in NAME()
68 init_idepth[1] = (ushort)((z0 + dzdx) * scale); in NAME()
70 init_idepth[3] = (ushort)((z0 + dzdx + dzdy) * scale); in NAME()
72 depth_step = (ushort)(dzdx * scale); in NAME()
Dsp_quad_depth_test.c138 const float dzdx = quad->posCoef->dadx[2]; in interpolate_quad_depth() local
140 const float z0 = quad->posCoef->a0[2] + dzdx * fx + dzdy * fy; in interpolate_quad_depth()
143 quad->output.depth[1] = z0 + dzdx; in interpolate_quad_depth()
145 quad->output.depth[3] = z0 + dzdx + dzdy; in interpolate_quad_depth()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_offset.c90 float dzdx = fabsf(a * inv_det); in do_offset_tri() local
95 mult = MAX2(dzdx, dzdy) * offset->scale; in do_offset_tri()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_setup.c215 LLVMValueRef dzdxdzdy, dzdx, dzdy, dzxyz20, dyzzx01, dyzzx01_dzxyz20, dzx01_dyz20; in lp_do_offset_tri() local
252 dzdx = LLVMBuildExtractElement(b, dzdxdzdy, zeroi, ""); in lp_do_offset_tri()
256 max = LLVMBuildFCmp(b, LLVMRealUGT, dzdx, dzdy, ""); in lp_do_offset_tri()
257 max_value = LLVMBuildSelect(b, max, dzdx, dzdy, "max"); in lp_do_offset_tri()
/third_party/vk-gl-cts/framework/referencerenderer/
DrrRenderer.cpp961 const float dzdx = dxDir.x() * a.z() + dxDir.y() * b.z(); in findTriangleVertexDepthSlope() local
965 return de::max(de::abs(dzdx), de::abs(dzdy)); in findTriangleVertexDepthSlope()