Home
last modified time | relevance | path

Searched refs:depth_scale (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_viewport_state.c35 const GLfloat depth_scale = 1.0F / ctx->DrawBuffer->_DepthMaxF; in gen7_upload_sf_clip_viewport() local
64 vp->viewport.m22 = v[MAT_SZ] * depth_scale; in gen7_upload_sf_clip_viewport()
67 vp->viewport.m32 = v[MAT_TZ] * depth_scale; in gen7_upload_sf_clip_viewport()
Dgen6_viewport_state.c71 const GLfloat depth_scale = 1.0F / ctx->DrawBuffer->_DepthMaxF; in gen6_upload_sf_vp() local
93 sfv->viewport.m22 = v[MAT_SZ] * depth_scale; in gen6_upload_sf_vp()
96 sfv->viewport.m32 = v[MAT_TZ] * depth_scale; in gen6_upload_sf_vp()
Dbrw_sf_state.c46 const GLfloat depth_scale = 1.0F / ctx->DrawBuffer->_DepthMaxF; in upload_sf_vp() local
69 sfv->viewport.m22 = v[MAT_SZ] * depth_scale; in upload_sf_vp()
72 sfv->viewport.m32 = v[MAT_TZ] * depth_scale; in upload_sf_vp()