Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Ddepth.c123 _mesa_DepthBoundsEXT( GLclampd zmin, GLclampd zmax ) in _mesa_DepthBoundsEXT() argument
128 _mesa_debug(ctx, "glDepthBounds(%f, %f)\n", zmin, zmax); in _mesa_DepthBoundsEXT()
130 if (zmin > zmax) { in _mesa_DepthBoundsEXT()
136 zmax = CLAMP(zmax, 0.0, 1.0); in _mesa_DepthBoundsEXT()
138 if (ctx->Depth.BoundsMin == zmin && ctx->Depth.BoundsMax == zmax) in _mesa_DepthBoundsEXT()
143 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.h53 _mesa_DepthBoundsEXT( GLclampd zmin, GLclampd zmax );
Ddlist.c5207 save_DepthBoundsEXT(GLclampd zmin, GLclampd zmax) in save_DepthBoundsEXT() argument
5215 n[2].f = (GLfloat) zmax; in save_DepthBoundsEXT()
5218 CALL_DepthBoundsEXT(ctx->Exec, (zmin, zmax)); in save_DepthBoundsEXT()
/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/radeon/
Dr600_viewport.c331 float zmin, zmax; in r600_emit_depth_ranges() local
338 util_viewport_zmin_zmax(&states[0], rctx->clip_halfz, &zmin, &zmax); in r600_emit_depth_ranges()
342 radeon_emit(cs, fui(zmax)); in r600_emit_depth_ranges()
355 util_viewport_zmin_zmax(&states[i], rctx->clip_halfz, &zmin, &zmax); in r600_emit_depth_ranges()
357 radeon_emit(cs, fui(zmax)); in r600_emit_depth_ranges()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_emit.c652 float zmin, zmax; in fd4_emit_state() local
660 &zmin, &zmax); in fd4_emit_state()
665 OUT_RING(ring, fui(zmax)); in fd4_emit_state()
668 OUT_RING(ring, (uint32_t)(zmax * 0xffff)); in fd4_emit_state()
671 OUT_RING(ring, (uint32_t)(zmax * 0xffffff)); in fd4_emit_state()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_framebuffer.c648 svga->state.hw_clear.depthrange.zmax != range_max) in emit_viewport()
659 svga->state.hw_clear.depthrange.zmax = range_max; in emit_viewport()
678 svga->state.hw_clear.depthrange.zmax = range_max; in emit_viewport()
Dsvga_context.h321 float zmin, zmax; member
/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/nouveau/nv50/
Dnv50_state_validate.c250 float zmin, zmax; in nv50_validate_viewport() local
273 util_viewport_zmin_zmax(vpt, nv50->rast->pipe.clip_halfz, &zmin, &zmax); in nv50_validate_viewport()
278 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.c494 float zmax = MAX2(viewports[i].minDepth, viewports[i].maxDepth); in si_write_viewport() local
496 radeon_emit(cs, fui(zmax)); in si_write_viewport()
/external/swiftshader/include/GL/
Dglext.h5953 typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
5955 GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
8436 typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
8440 GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
/external/mesa3d/include/GL/
Dglext.h6645 typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
6647 GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
9312 typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
9316 GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);