Home
last modified time | relevance | path

Searched refs:depthMax (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dpack.c771 GLenum dstType, GLvoid *dest, GLuint depthMax, in _mesa_unpack_depth_span() argument
796 && depthMax == 0xffffffff) { in _mesa_unpack_depth_span()
807 && depthMax == 0xffffff) { in _mesa_unpack_depth_span()
861 depthMax == 0xffffff && in _mesa_unpack_depth_span()
956 if (depthMax <= 0xffffff) { in _mesa_unpack_depth_span()
959 zValues[i] = (GLuint) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span()
965 GLdouble z = depthValues[i] * (GLdouble) depthMax; in _mesa_unpack_depth_span()
976 assert(depthMax <= 0xffff); in _mesa_unpack_depth_span()
978 zValues[i] = (GLushort) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span()
Dpack.h66 GLenum dstType, GLvoid *dest, GLuint depthMax,
/third_party/mesa3d/src/mesa/swrast/
Ds_copypix.c200 const GLuint depthMax = ctx->DrawBuffer->_DepthMax; in scale_and_bias_z() local
203 if (depthMax <= 0xffffff && in scale_and_bias_z()
219 z[i] = depthMax; in scale_and_bias_z()
Ds_drawpix.c377 const GLuint depthMax = ctx->DrawBuffer->_DepthMax; in draw_depth_pixels() local
399 GL_UNSIGNED_INT, span.array->z, depthMax, in draw_depth_pixels()
Ds_span.c73 const GLfloat depthMax = ctx->DrawBuffer->_DepthMaxF; in _swrast_span_default_attribs() local
75 span->z = FloatToFixed(ctx->Current.RasterPos[2] * depthMax + 0.5F); in _swrast_span_default_attribs()
77 GLfloat tmpf = ctx->Current.RasterPos[2] * depthMax; in _swrast_span_default_attribs()
78 tmpf = MIN2(tmpf, depthMax); in _swrast_span_default_attribs()
/third_party/mesa3d/src/mesa/math/
Dm_matrix.h129 const float translate[3], double depthMax );
Dm_matrix.c1027 const float translate[3], double depthMax) in _math_matrix_viewport() argument
1033 m->m[MAT_SZ] = depthMax*scale[2]; in _math_matrix_viewport()
1034 m->m[MAT_TZ] = depthMax*translate[2]; in _math_matrix_viewport()
/third_party/mesa3d/docs/relnotes/
D8.0.5.rst197 - mesa: Use GLdouble for depthMax in final unpack conversions.
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp3301 const float depthMax = depthRange[1]; in imageData() local
3321 color.x() = depthClamped * depthMax + (1.0f - depthClamped) * depthMin; in imageData()
3482 const float depthMax = depthRange[1]; in iterate() local
3486 …subpassNdx, VK_VERTEX_INPUT_RATE_VERTEX, m_depthTest, m_stencilTest, depthMin, depthMax, m_dsForma… in iterate()