Home
last modified time | relevance | path

Searched refs:_DepthMaxF (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_feedback.c44 win[2] = v->attrib[VARYING_SLOT_POS][2] / ctx->DrawBuffer->_DepthMaxF; in feedback_vertex()
114 const GLfloat zs = 1.0F / ctx->DrawBuffer->_DepthMaxF; in _swrast_select_triangle()
126 const GLfloat zs = 1.0F / ctx->DrawBuffer->_DepthMaxF; in _swrast_select_line()
135 const GLfloat zs = 1.0F / ctx->DrawBuffer->_DepthMaxF; in _swrast_select_point()
Ds_copypix.c207 const GLfloat depthMaxF = ctx->DrawBuffer->_DepthMaxF; in scale_and_bias_z()
214 const GLdouble depthMaxF = ctx->DrawBuffer->_DepthMaxF; in scale_and_bias_z()
Ds_fragprog.c245 (GLuint) (depth * ctx->DrawBuffer->_DepthMaxF + 0.5F); in run_program()
Ds_depth.c190 min = (GLint) (min_f * fb->_DepthMaxF); in _swrast_depth_clamp_span()
191 max = (GLint) (max_f * fb->_DepthMaxF); in _swrast_depth_clamp_span()
Ds_span.c73 const GLfloat depthMax = ctx->DrawBuffer->_DepthMaxF; in _swrast_span_default_attribs()
630 const GLfloat zScale = 1.0F / ctx->DrawBuffer->_DepthMaxF; in interpolate_wpos()
Ds_tritemp.h138 const GLfloat maxDepth = ctx->DrawBuffer->_DepthMaxF; in NAME()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_util.h157 a[MAT_SZ] = fb->_DepthMaxF * (vp->Far - vp->Near) / 2; in get_viewport_scale()
174 a[2] = fb->_DepthMaxF * (vp->Far + vp->Near) / 2; in get_viewport_translate()
Dnv04_render.c49 viewport[MAT_SZ] /= fb->_DepthMaxF; in swtnl_update_viewport()
50 viewport[MAT_TZ] /= fb->_DepthMaxF; in swtnl_update_viewport()
Dnv10_state_fb.c82 PUSH_DATAf(push, fb->_DepthMaxF / 2); in setup_hierz_buffer()
Dnv10_context.c81 return ctx->DrawBuffer->_DepthMaxF * z; in nv10_transform_depth()
/external/mesa3d/src/mesa/tnl/
Dt_context.c199 ctx->DrawBuffer->_DepthMaxF); in _tnl_InvalidateState()
/external/mesa3d/src/mesa/main/
Dframebuffer.c75 fb->_DepthMaxF = (GLfloat) fb->_DepthMax; in compute_depth_max()
78 fb->_MRD = (GLfloat)1.0 / fb->_DepthMaxF; in compute_depth_max()
Dmtypes.h3554 GLfloat _DepthMaxF; /**< Float max depth buffer value */ member
/external/mesa3d/src/mesa/swrast_setup/
Dss_tritmp.h132 const GLfloat max = ctx->DrawBuffer->_DepthMaxF; in TAG()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state.c525 const GLfloat depthScale = 1.0F / ctx->DrawBuffer->_DepthMaxF; in radeonPolygonOffset()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state.c720 const GLfloat depthScale = 1.0F / ctx->DrawBuffer->_DepthMaxF; in r200PolygonOffset()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.c6436 mach->Outputs[0].xyzw[2].f[i] *= ctx->DrawBuffer->_DepthMaxF; in tgsi_exec_machine_run()