Home
last modified time | relevance | path

Searched refs:zmax (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/mesa/main/
Ddepth.c142 _mesa_DepthBoundsEXT( GLclampd zmin, GLclampd zmax ) in _mesa_DepthBoundsEXT() argument
147 _mesa_debug(ctx, "glDepthBounds(%f, %f)\n", zmin, zmax); in _mesa_DepthBoundsEXT()
149 if (zmin > zmax) { in _mesa_DepthBoundsEXT()
155 zmax = CLAMP(zmax, 0.0, 1.0); in _mesa_DepthBoundsEXT()
157 if (ctx->Depth.BoundsMin == zmin && ctx->Depth.BoundsMax == zmax) in _mesa_DepthBoundsEXT()
163 ctx->Depth.BoundsMax = (GLfloat) zmax; in _mesa_DepthBoundsEXT()
Dfeedback.c239 GLuint zmin, zmax, zscale = (~0u); in write_hit_record() local
246 zmax = (GLuint) ((GLfloat) zscale * ctx->Select.HitMaxZ); in write_hit_record()
250 write_record( ctx, zmax ); in write_hit_record()
Ddepth.h56 _mesa_DepthBoundsEXT( GLclampd zmin, GLclampd zmax );
Ddlist.c5208 save_DepthBoundsEXT(GLclampd zmin, GLclampd zmax) in save_DepthBoundsEXT() argument
5216 n[2].f = (GLfloat) zmax; in save_DepthBoundsEXT()
5219 CALL_DepthBoundsEXT(ctx->Exec, (zmin, zmax)); in save_DepthBoundsEXT()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_viewport.c333 bool window_space_position, float *zmin, float *zmax) in si_viewport_zmin_zmax() argument
337 *zmax = 1; in si_viewport_zmin_zmax()
340 util_viewport_zmin_zmax(vp, halfz, zmin, zmax); in si_viewport_zmin_zmax()
350 float zmin, zmax; in si_emit_depth_ranges() local
361 &zmin, &zmax); in si_emit_depth_ranges()
365 radeon_emit(cs, fui(zmax)); in si_emit_depth_ranges()
379 &zmin, &zmax); in si_emit_depth_ranges()
381 radeon_emit(cs, fui(zmax)); in si_emit_depth_ranges()
/external/mesa3d/src/gallium/auxiliary/util/
Du_viewport.h40 float *zmin, float *zmax) in util_viewport_zmin_zmax() argument
52 *zmax = a < b ? b : a; in util_viewport_zmin_zmax()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_viewport.c354 float zmin, zmax; in r600_emit_depth_ranges() local
361 util_viewport_zmin_zmax(&states[0], rctx->clip_halfz, &zmin, &zmax); in r600_emit_depth_ranges()
365 radeon_emit(cs, fui(zmax)); in r600_emit_depth_ranges()
378 util_viewport_zmin_zmax(&states[i], rctx->clip_halfz, &zmin, &zmax); in r600_emit_depth_ranges()
380 radeon_emit(cs, fui(zmax)); in r600_emit_depth_ranges()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_emit.c678 float zmin, zmax; in fd3_emit_state() local
686 &zmin, &zmax); in fd3_emit_state()
691 OUT_RING(ring, (uint32_t)(zmax * 0xffffffff)); in fd3_emit_state()
694 OUT_RING(ring, (uint32_t)(zmax * 0xffff)); in fd3_emit_state()
697 OUT_RING(ring, (uint32_t)(zmax * 0xffffff)); in fd3_emit_state()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_emit.c649 float zmin, zmax; in fd4_emit_state() local
657 &zmin, &zmax); in fd4_emit_state()
662 OUT_RING(ring, fui(zmax)); in fd4_emit_state()
665 OUT_RING(ring, (uint32_t)(zmax * 0xffff)); in fd4_emit_state()
668 OUT_RING(ring, (uint32_t)(zmax * 0xffffff)); in fd4_emit_state()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_framebuffer.c683 svga->state.hw_clear.depthrange.zmax != range_max) in emit_viewport()
694 svga->state.hw_clear.depthrange.zmax = range_max; in emit_viewport()
713 svga->state.hw_clear.depthrange.zmax = range_max; in emit_viewport()
Dsvga_context.h324 float zmin, zmax; member
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_state_validate.c251 float zmin, zmax; in nv50_validate_viewport() local
274 util_viewport_zmin_zmax(vpt, nv50->rast->pipe.clip_halfz, &zmin, &zmax); in nv50_validate_viewport()
279 PUSH_DATAf(push, zmax); in nv50_validate_viewport()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state_validate.c303 float zmin, zmax; in nvc0_validate_viewport() local
337 util_viewport_zmin_zmax(vp, nvc0->rast->pipe.clip_halfz, &zmin, &zmax); in nvc0_validate_viewport()
341 PUSH_DATAf(push, zmax); in nvc0_validate_viewport()
/external/mesa3d/src/amd/vulkan/
Dsi_cmd_buffer.c637 float zmax = MAX2(viewports[i].minDepth, viewports[i].maxDepth); in si_write_viewport() local
639 radeon_emit(cs, fui(zmax)); in si_write_viewport()
/external/deqp/framework/platform/null/
DtcuNullRenderContextFuncs.inl1445 GLW_APICALL void GLW_APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax) argument
1448 DE_UNREF(zmax);
/external/mesa3d/prebuilt-intermediates/main/
Dmarshal_generated.c6987 GLclampd zmax; member
6993 const GLclampd zmax = cmd->zmax; in _mesa_unmarshal_DepthBoundsEXT() local
6994 CALL_DepthBoundsEXT(ctx->CurrentServerDispatch, (zmin, zmax)); in _mesa_unmarshal_DepthBoundsEXT()
6997 _mesa_marshal_DepthBoundsEXT(GLclampd zmin, GLclampd zmax) in _mesa_marshal_DepthBoundsEXT() argument
7006 cmd->zmax = zmax; in _mesa_marshal_DepthBoundsEXT()
7013 CALL_DepthBoundsEXT(ctx->CurrentServerDispatch, (zmin, zmax)); in _mesa_marshal_DepthBoundsEXT()
/external/deqp/framework/opengl/
DgluCallLogWrapper.inl1078 void CallLogWrapper::glDepthBoundsEXT (glw::GLclampd zmin, glw::GLclampd zmax) argument
1081 …m_log << TestLog::Message << "glDepthBoundsEXT(" << zmin << ", " << zmax << ");" << TestLog::EndMe…
1082 m_gl.depthBoundsEXT(zmin, zmax);
DgluCallLogWrapperApi.inl156 void glDepthBoundsEXT (glw::GLclampd zmin, glw::GLclampd zmax);
/external/deqp/framework/opengl/wrapper/
DglwImpl.inl1207 void glwDepthBoundsEXT (GLclampd zmin, GLclampd zmax) argument
1212 gl->depthBoundsEXT(zmin, zmax);
DglwFunctionTypes.inl156 …def GLW_APICALL void (GLW_APIENTRY* glDepthBoundsEXTFunc) (GLclampd zmin, GLclampd zmax);
DglwApi.inl1062 void glwDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
/external/swiftshader/include/GL/
Dglext.h6768 typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
6770 GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
9667 typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
9671 GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
/external/mesa3d/include/GL/
Dglext.h6757 typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
6759 GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
9625 typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
9629 GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);