Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/mesa/main/
Ddepth.c148 _mesa_DepthBoundsEXT( GLclampd zmin, GLclampd zmax ) in _mesa_DepthBoundsEXT() argument
153 _mesa_debug(ctx, "glDepthBounds(%f, %f)\n", zmin, zmax); in _mesa_DepthBoundsEXT()
155 if (zmin > zmax) { in _mesa_DepthBoundsEXT()
161 zmax = SATURATE(zmax); in _mesa_DepthBoundsEXT()
163 if (ctx->Depth.BoundsMin == zmin && ctx->Depth.BoundsMax == zmax) in _mesa_DepthBoundsEXT()
170 ctx->Depth.BoundsMax = zmax; in _mesa_DepthBoundsEXT()
Dfeedback.c238 GLuint zmin, zmax, zscale = (~0u); in write_hit_record() local
245 zmax = (GLuint) ((GLfloat) zscale * ctx->Select.HitMaxZ); in write_hit_record()
249 write_record( ctx, zmax ); in write_hit_record()
Ddepth.h56 _mesa_DepthBoundsEXT( GLclampd zmin, GLclampd zmax );
/third_party/boost/libs/math/test/
Dtest_uniform.cpp407 …uniform_distribution<> zmax(0, +(std::numeric_limits<double>::max)()); // zero to max using defaul… in BOOST_AUTO_TEST_CASE() local
408 BOOST_CHECK_EQUAL(zmax.lower(), 0); // Check defaults again. in BOOST_AUTO_TEST_CASE()
409 BOOST_CHECK_EQUAL(zmax.upper(), +(std::numeric_limits<double>::max)()); in BOOST_AUTO_TEST_CASE()
411 BOOST_CHECK_EQUAL(pdf(zmax, -1), 0); // pdf is 1/(0 - max) = almost zero for all x in BOOST_AUTO_TEST_CASE()
412 BOOST_CHECK_EQUAL(pdf(zmax, 0), (std::numeric_limits<double>::min)()/4); // x = in BOOST_AUTO_TEST_CASE()
413 BOOST_CHECK_EQUAL(pdf(zmax, 1), (std::numeric_limits<double>::min)()/4); // x = in BOOST_AUTO_TEST_CASE()
414 …BOOST_MATH_CHECK_THROW(pdf(zmax, +std::numeric_limits<double>::infinity()), std::domain_error); //… in BOOST_AUTO_TEST_CASE()
415 BOOST_MATH_CHECK_THROW(pdf(zmax, -std::numeric_limits<double>::infinity()), std::domain_error); in BOOST_AUTO_TEST_CASE()
416 …BOOST_CHECK_EQUAL(pdf(zmax, +(std::numeric_limits<double>::max)()), (std::numeric_limits<double>::… in BOOST_AUTO_TEST_CASE()
417 BOOST_CHECK_EQUAL(pdf(zmax, -(std::numeric_limits<double>::max)()), 0); // x = in BOOST_AUTO_TEST_CASE()
/third_party/openGLES/extensions/EXT/
DEXT_depth_bounds_test.txt72 window-space Z bounds (zmin,zmax) of consequential illumination.
74 the range [zmin,zmax], the light source's illumination can be
110 Can the zmin bound be greater than the zmax bound?
112 RESOLUTION: zmin must be less than or equal to zmax or an
115 Another way to interpret this situation is to have zmin>zmax reject
117 zmin and zmax. But this does not seem useful enough to specify.
122 types and clamping, excepting that zmin must be less than zmax.
171 void DepthBoundsEXT(clampd zmin, clampd zmax);
209 void DepthBoundsEXT(clampd zmin, clampd zmax);
211 Each of zmin and zmax are clamped to lie within [0,1] (being of
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_depth_bounds_test.txt72 window-space Z bounds (zmin,zmax) of consequential illumination.
74 the range [zmin,zmax], the light source's illumination can be
110 Can the zmin bound be greater than the zmax bound?
112 RESOLUTION: zmin must be less than or equal to zmax or an
115 Another way to interpret this situation is to have zmin>zmax reject
117 zmin and zmax. But this does not seem useful enough to specify.
122 types and clamping, excepting that zmin must be less than zmax.
171 void DepthBoundsEXT(clampd zmin, clampd zmax);
209 void DepthBoundsEXT(clampd zmin, clampd zmax);
211 Each of zmin and zmax are clamped to lie within [0,1] (being of
[all …]
/third_party/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()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_viewport.c511 bool window_space_position, float *zmin, float *zmax) in si_viewport_zmin_zmax() argument
515 *zmax = 1; in si_viewport_zmin_zmax()
518 util_viewport_zmin_zmax(vp, halfz, zmin, zmax); in si_viewport_zmin_zmax()
527 float zmin, zmax; in si_emit_depth_ranges() local
531 si_viewport_zmin_zmax(&states[0], clip_halfz, window_space, &zmin, &zmax); in si_emit_depth_ranges()
536 radeon_emit(fui(zmax)); in si_emit_depth_ranges()
547 si_viewport_zmin_zmax(&states[i], clip_halfz, window_space, &zmin, &zmax); in si_emit_depth_ranges()
549 radeon_emit(fui(zmax)); in si_emit_depth_ranges()
Dsi_clear.c480 const uint32_t zmax = zmin; in si_get_htile_clear_value() local
488 return ((zmax & 0x3FFF) << 18) | in si_get_htile_clear_value()
505 const uint32_t zrange = (zmax << 6) | delta; in si_get_htile_clear_value()
/third_party/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()
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_depth_buffer_float.txt79 void DepthBoundsdNV(double zmin, double zmax);
374 DEPTH_BOUNDS_EXT 2xR GetFloatv 0,1 Depth bounds zmin & zmax 4.1.X depth-buffer
425 8 FLOAT64 zmax
436 void DepthBoundsEXT(clampd zmin, clampd zmax);
437 void DepthBoundsdNV(double zmin, double zmax);
441 of zmin and zmax are subject to clamping to the range of the depth
443 fixed-point depth buffers, the applied zmin and zmax are clamped to
445 zmax are unmodified. If zmin <= Zpixel <= zmax, then the depth
450 zmax, then the error INVALID_VALUE is generated. The state
453 zmin and zmax are set to 0.0 and 1.0 respectively; and the depth
/third_party/openGLES/extensions/NV/
DNV_depth_buffer_float.txt79 void DepthBoundsdNV(double zmin, double zmax);
374 DEPTH_BOUNDS_EXT 2xR GetFloatv 0,1 Depth bounds zmin & zmax 4.1.X depth-buffer
425 8 FLOAT64 zmax
436 void DepthBoundsEXT(clampd zmin, clampd zmax);
437 void DepthBoundsdNV(double zmin, double zmax);
441 of zmin and zmax are subject to clamping to the range of the depth
443 fixed-point depth buffers, the applied zmin and zmax are clamped to
445 zmax are unmodified. If zmin <= Zpixel <= zmax, then the depth
450 zmax, then the error INVALID_VALUE is generated. The state
453 zmin and zmax are set to 0.0 and 1.0 respectively; and the depth
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_depth_buffer_float.txt359 DEPTH_BOUNDS_EXT 2xR GetFloatv 0,1 Depth bounds zmin & zmax 4.1.X depth-buffer
391 void DepthBoundsEXT(clampd zmin, clampd zmax);
394 Each of zmin and zmax are subject to clamping to the range of the depth
396 fixed-point depth buffers, the applied zmin and zmax are clamped to
398 zmax are clamped to [0, 1]. If zmin <= Zpixel <= zmax, then the depth
403 zmax, then the error INVALID_VALUE is generated. The state
406 zmin and zmax are set to 0.0 and 1.0 respectively; and the depth
/third_party/openGLES/extensions/ARB/
DARB_depth_buffer_float.txt369 DEPTH_BOUNDS_EXT 2xR GetFloatv 0,1 Depth bounds zmin & zmax 4.1.X depth-buffer
401 void DepthBoundsEXT(clampd zmin, clampd zmax);
404 Each of zmin and zmax are subject to clamping to the range of the depth
406 fixed-point depth buffers, the applied zmin and zmax are clamped to
408 zmax are clamped to [0, 1]. If zmin <= Zpixel <= zmax, then the depth
413 zmax, then the error INVALID_VALUE is generated. The state
416 zmin and zmax are set to 0.0 and 1.0 respectively; and the depth
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_emit.c724 float zmin, zmax; in fd3_emit_state() local
732 &zmin, &zmax); in fd3_emit_state()
737 OUT_RING(ring, (uint32_t)(zmax * 0xffffffff)); in fd3_emit_state()
740 OUT_RING(ring, (uint32_t)(zmax * 0xffff)); in fd3_emit_state()
743 OUT_RING(ring, (uint32_t)(zmax * 0xffffff)); in fd3_emit_state()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_emit.c675 float zmin, zmax; in fd4_emit_state() local
683 &zmin, &zmax); in fd4_emit_state()
688 OUT_RING(ring, fui(zmax)); in fd4_emit_state()
691 OUT_RING(ring, (uint32_t)(zmax * 0xffff)); in fd4_emit_state()
694 OUT_RING(ring, (uint32_t)(zmax * 0xffffff)); in fd4_emit_state()
/third_party/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()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_emit.c989 float zmin, zmax; in fd6_emit_non_ring() local
991 &zmin, &zmax); in fd6_emit_non_ring()
994 A6XX_GRAS_CL_Z_CLAMP_MAX(0, zmax)); in fd6_emit_non_ring()
996 OUT_REG(ring, A6XX_RB_Z_CLAMP_MIN(zmin), A6XX_RB_Z_CLAMP_MAX(zmax)); in fd6_emit_non_ring()
/third_party/openssl/test/
Dasn1_encode_test.c175 #define ENCDEC_ARRAY(max, zmax, min, zmin) \ argument
176 ENCDEC_DATA(max,zmax), \
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state_validate.c396 float zmin, zmax; in nvc0_validate_viewport() local
430 util_viewport_zmin_zmax(vp, nvc0->rast->pipe.clip_halfz, &zmin, &zmax); in nvc0_validate_viewport()
434 PUSH_DATAf(push, zmax); in nvc0_validate_viewport()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_clear.c878 uint32_t zmin, zmax; in radv_get_htile_fast_clear_value() local
882 zmax = zmin; in radv_get_htile_fast_clear_value()
891 htile_value = (((zmax & 0x3fff) << 18) | in radv_get_htile_fast_clear_value()
908 uint32_t zrange = ((zmax << 6) | delta); in radv_get_htile_fast_clear_value()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_context.h341 float zmax; member
Dsvga_state_framebuffer.c732 svga->state.hw_clear.depthrange.zmax = vp->maxDepth; in emit_viewport()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_state.c5374 bool window_space_position, float *zmin, float *zmax) in iris_viewport_zmin_zmax() argument
5378 *zmax = 1.f; in iris_viewport_zmin_zmax()
5381 util_viewport_zmin_zmax(vp, halfz, zmin, zmax); in iris_viewport_zmin_zmax()
5654 float zmin, zmax; in iris_upload_dirty_render_state() local
5657 &zmin, &zmax); in iris_upload_dirty_render_state()
5661 zmax = 1.0; in iris_upload_dirty_render_state()
5665 ccv.MaximumDepth = zmax; in iris_upload_dirty_render_state()
/third_party/mesa3d/docs/relnotes/
D12.0.2.rst192 - gallium/util: add helper to compute zmin/zmax for a viewport state

12