Searched refs:near_val (Results 1 – 3 of 3) sorted by relevance
799 float near_val, far_val; in depth_test_quads_fallback() local808 …near_val = qs->softpipe->viewports[vp_idx].translate[2] - qs->softpipe->viewports[vp_idx].scale[2]; in depth_test_quads_fallback()809 far_val = near_val + (qs->softpipe->viewports[vp_idx].scale[2] * 2.0); in depth_test_quads_fallback()810 data.minval = MIN2(near_val, far_val); in depth_test_quads_fallback()811 data.maxval = MAX2(near_val, far_val); in depth_test_quads_fallback()
419 GLclampd near_val, far_val; member2137 GLclampd near_val, far_val; in vrend_set_viewport_states() local2156 near_val = state[i].translate[2] - state[i].scale[2]; in vrend_set_viewport_states()2157 far_val = near_val + (state[i].scale[2] * 2.0); in vrend_set_viewport_states()2174 ctx->sub->depth_scale = fabsf(far_val - near_val); in vrend_set_viewport_states()2175 ctx->sub->depth_transform = near_val; in vrend_set_viewport_states()2178 if (ctx->sub->vps[idx].near_val != near_val || in vrend_set_viewport_states()2180 ctx->sub->vps[idx].near_val = near_val; in vrend_set_viewport_states()2184 if (near_val < 0.0f || far_val < 0.0f || in vrend_set_viewport_states()2185 near_val > 1.0f || far_val > 1.0f || idx) { in vrend_set_viewport_states()[all …]
850 GLAPI void GLAPIENTRY glDepthRange( GLclampd near_val, GLclampd far_val );870 GLdouble near_val, GLdouble far_val );874 GLdouble near_val, GLdouble far_val );