Searched refs:depth_scale (Results 1 – 3 of 3) sorted by relevance
35 const GLfloat depth_scale = 1.0F / ctx->DrawBuffer->_DepthMaxF; in gen7_upload_sf_clip_viewport() local64 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()
71 const GLfloat depth_scale = 1.0F / ctx->DrawBuffer->_DepthMaxF; in gen6_upload_sf_vp() local93 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()
46 const GLfloat depth_scale = 1.0F / ctx->DrawBuffer->_DepthMaxF; in upload_sf_vp() local69 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()