Searched refs:dzdx (Results 1 - 12 of 12) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_quad_depth_test_tmp.h58 const float dzdx = quads[0]->posCoef->dadx[2]; local in function:NAME
60 const float z0 = quads[0]->posCoef->a0[2] + dzdx * fx + dzdy * fy;
68 init_idepth[1] = (ushort)((z0 + dzdx) * scale);
70 init_idepth[3] = (ushort)((z0 + dzdx + dzdy) * scale);
72 depth_step = (ushort)(dzdx * scale);
H A Dsp_quad_depth_test.c138 const float dzdx = quad->posCoef->dadx[2]; local in function:interpolate_quad_depth
140 const float z0 = quad->posCoef->a0[2] + dzdx * fx + dzdy * fy;
143 quad->output.depth[1] = z0 + dzdx;
145 quad->output.depth[3] = z0 + dzdx + dzdy;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_quad_depth_test_tmp.h58 const float dzdx = quads[0]->posCoef->dadx[2]; local in function:NAME
60 const float z0 = quads[0]->posCoef->a0[2] + dzdx * fx + dzdy * fy;
68 init_idepth[1] = (ushort)((z0 + dzdx) * scale);
70 init_idepth[3] = (ushort)((z0 + dzdx + dzdy) * scale);
72 depth_step = (ushort)(dzdx * scale);
H A Dsp_quad_depth_test.c138 const float dzdx = quad->posCoef->dadx[2]; local in function:interpolate_quad_depth
140 const float z0 = quad->posCoef->a0[2] + dzdx * fx + dzdy * fy;
143 quad->output.depth[1] = z0 + dzdx;
145 quad->output.depth[3] = z0 + dzdx + dzdy;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_pipe_offset.c90 float dzdx = fabsf(a * inv_det); local in function:do_offset_tri
95 mult = MAX2(dzdx, dzdy) * offset->scale;
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_pipe_offset.c90 float dzdx = fabsf(a * inv_det); local in function:do_offset_tri
95 mult = MAX2(dzdx, dzdy) * offset->scale;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast_setup/
H A Dss_tritmp.h145 const GLfloat dzdx = fabsf((ey * fz - ez * fy) * oneOverArea); local in function:TAG
147 offset += MAX2(dzdx, dzdy) * ctx->Polygon.OffsetFactor;
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast_setup/
H A Dss_tritmp.h145 const GLfloat dzdx = fabsf((ey * fz - ez * fy) * oneOverArea); local in function:TAG
147 offset += MAX2(dzdx, dzdy) * ctx->Polygon.OffsetFactor;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_setup.c218 LLVMValueRef dzdxdzdy, dzdx, dzdy, dzxyz20, dyzzx01, dyzzx01_dzxyz20, dzx01_dyz20; local in function:lp_do_offset_tri
252 /* dzdx = fabsf(res1 * inv_det), dydx = fabsf(res2 * inv_det)*/
256 dzdx = LLVMBuildExtractElement(b, dzdxdzdy, zeroi, "");
259 /* mult = MAX2(dzdx, dzdy) * pgon_offset_scale */
260 max = LLVMBuildFCmp(b, LLVMRealUGT, dzdx, dzdy, "");
261 max_value = LLVMBuildSelect(b, max, dzdx, dzdy, "max");
271 * MAX2(dzdx, dzdy) * pgon_offset_scale
307 * bias = pgon_offset_units + MAX2(dzdx, dzdy) * pgon_offset_scale
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_setup.c218 LLVMValueRef dzdxdzdy, dzdx, dzdy, dzxyz20, dyzzx01, dyzzx01_dzxyz20, dzx01_dyz20; local in function:lp_do_offset_tri
251 /* dzdx = fabsf(res1 * inv_det), dydx = fabsf(res2 * inv_det)*/
255 dzdx = LLVMBuildExtractElement(b, dzdxdzdy, zeroi, "");
258 /* mult = MAX2(dzdx, dzdy) * pgon_offset_scale */
259 max = LLVMBuildFCmp(b, LLVMRealUGT, dzdx, dzdy, "");
260 max_value = LLVMBuildSelect(b, max, dzdx, dzdy, "max");
270 * mantissa_bits) + MAX2(dzdx, dzdy) * pgon_offset_scale
309 * bias = pgon_offset_units + MAX2(dzdx, dzdy) * pgon_offset_scale
/xsrc/external/mit/xf86-video-s3virge/dist/src/
H A Dnewmmio.h326 int32 dzdx;
600 #define SETT3_DZDX(val) ((mmtr)s3vMmioMem)->triangle3d_regs.regs.dzdx = (val)
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/core/core/
H A Drasterizer_impl.h463 float dzdx = abs(d10 - d00);
474 float dzdx = fabsf(pDesc->recipDet * (pDesc->Z[0] * pDesc->I[0] + pDesc->Z[1] * pDesc->J[0])); local in function:ComputeMaxDepthSlope
477 return std::max(dzdx, dzdy);

Completed in 21 milliseconds