/third_party/mesa3d/src/mesa/main/ |
D | depth.c | 142 _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() 154 zmin = SATURATE(zmin); in _mesa_DepthBoundsEXT() 157 if (ctx->Depth.BoundsMin == zmin && ctx->Depth.BoundsMax == zmax) in _mesa_DepthBoundsEXT() 162 ctx->Depth.BoundsMin = zmin; in _mesa_DepthBoundsEXT()
|
D | feedback.c | 352 unsigned zmin, zmax; in update_hit_record() local 356 zmin = (unsigned) ((float)(~0u) * *(float *)(save++)); in update_hit_record() 359 zmin = ~0u; in update_hit_record() 368 zmin = MIN2(zmin, result[index + 1]); in update_hit_record() 383 write_record(ctx, zmin); in update_hit_record() 406 GLuint zmin = (GLuint) ((GLfloat) zscale * s->HitMinZ); in update_hit_record() local 410 write_record(ctx, zmin); in update_hit_record()
|
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/ |
D | EXT_depth_bounds_test.txt | 72 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 …]
|
D | EXT_clip_cull_distance.txt | 177 -zmin <= zc <= wc. 179 where zmin is -wc.
|
/third_party/openGLES/extensions/EXT/ |
D | EXT_depth_bounds_test.txt | 72 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 …]
|
D | EXT_clip_cull_distance.txt | 177 -zmin <= zc <= wc. 179 where zmin is -wc.
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_viewport.h | 39 float *zmin, float *zmax) in util_viewport_zmin_zmax() argument 50 *zmin = a < b ? a : b; in util_viewport_zmin_zmax()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_viewport.c | 536 bool window_space_position, float *zmin, float *zmax) in si_viewport_zmin_zmax() argument 539 *zmin = 0; in si_viewport_zmin_zmax() 543 util_viewport_zmin_zmax(vp, halfz, zmin, zmax); in si_viewport_zmin_zmax() 552 float zmin, zmax; in si_emit_depth_ranges() local 556 si_viewport_zmin_zmax(&states[0], clip_halfz, window_space, &zmin, &zmax); in si_emit_depth_ranges() 560 radeon_emit(fui(zmin)); in si_emit_depth_ranges() 572 si_viewport_zmin_zmax(&states[i], clip_halfz, window_space, &zmin, &zmax); in si_emit_depth_ranges() 573 radeon_emit(fui(zmin)); in si_emit_depth_ranges()
|
D | si_clear.c | 607 const uint32_t zmin = lroundf(depth * max_z_value); in si_get_htile_clear_value() local 608 const uint32_t zmax = zmin; in si_get_htile_clear_value() 617 ((zmin & 0x3FFF) << 4) | in si_get_htile_clear_value()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_viewport.c | 354 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() 364 radeon_emit(cs, fui(zmin)); in r600_emit_depth_ranges() 378 util_viewport_zmin_zmax(&states[i], rctx->clip_halfz, &zmin, &zmax); in r600_emit_depth_ranges() 379 radeon_emit(cs, fui(zmin)); in r600_emit_depth_ranges()
|
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/ |
D | NV_depth_buffer_float.txt | 79 void DepthBoundsdNV(double zmin, double zmax); 374 DEPTH_BOUNDS_EXT 2xR GetFloatv 0,1 Depth bounds zmin & zmax 4.1.X depth-buffer 424 8 FLOAT64 zmin 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 444 [0, 1]. For floating-point depth buffers, the applied zmin and 445 zmax are unmodified. If zmin <= Zpixel <= zmax, then the depth 449 if the depth bounds test always passes. If zmin is greater than [all …]
|
/third_party/openGLES/extensions/NV/ |
D | NV_depth_buffer_float.txt | 79 void DepthBoundsdNV(double zmin, double zmax); 374 DEPTH_BOUNDS_EXT 2xR GetFloatv 0,1 Depth bounds zmin & zmax 4.1.X depth-buffer 424 8 FLOAT64 zmin 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 444 [0, 1]. For floating-point depth buffers, the applied zmin and 445 zmax are unmodified. If zmin <= Zpixel <= zmax, then the depth 449 if the depth bounds test always passes. If zmin is greater than [all …]
|
/third_party/openGLES/extensions/ARB/ |
D | ARB_depth_buffer_float.txt | 369 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 407 [0, 1]. For floating-point depth buffers, the applied zmin and 408 zmax are clamped to [0, 1]. If zmin <= Zpixel <= zmax, then the depth 412 if the depth bounds test always passes. If zmin is greater than 416 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/ |
D | ARB_depth_buffer_float.txt | 359 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 397 [0, 1]. For floating-point depth buffers, the applied zmin and 398 zmax are clamped to [0, 1]. If zmin <= Zpixel <= zmax, then the depth 402 if the depth bounds test always passes. If zmin is greater than 406 zmin and zmax are set to 0.0 and 1.0 respectively; and the depth
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_emit.c | 715 float zmin, zmax; in fd3_emit_state() local 723 &zmin, &zmax); in fd3_emit_state() 727 OUT_RING(ring, (uint32_t)(zmin * 0xffffffff)); in fd3_emit_state() 730 OUT_RING(ring, (uint32_t)(zmin * 0xffff)); in fd3_emit_state() 733 OUT_RING(ring, (uint32_t)(zmin * 0xffffff)); in fd3_emit_state()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_emit.c | 815 float zmin, zmax; in fd4_emit_state() local 823 &zmin, &zmax); in fd4_emit_state() 827 OUT_RING(ring, fui(zmin)); in fd4_emit_state() 830 OUT_RING(ring, (uint32_t)(zmin * 0xffff)); in fd4_emit_state() 833 OUT_RING(ring, (uint32_t)(zmin * 0xffffff)); in fd4_emit_state()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_state_validate.c | 251 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() 278 PUSH_DATAf(push, zmin); in nv50_validate_viewport()
|
/third_party/openssl/test/ |
D | asn1_encode_test.c | 175 #define ENCDEC_ARRAY(max, zmax, min, zmin) \ argument 177 ENCDEC_DATA(min,zmin), \
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_emit.c | 1001 float zmin, zmax; in fd6_emit_non_ring() local 1003 &zmin, &zmax); in fd6_emit_non_ring() 1005 OUT_REG(ring, A6XX_GRAS_CL_Z_CLAMP_MIN(0, zmin), in fd6_emit_non_ring() 1008 OUT_REG(ring, A6XX_RB_Z_CLAMP_MIN(zmin), A6XX_RB_Z_CLAMP_MAX(zmax)); in fd6_emit_non_ring()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_state_validate.c | 396 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() 433 PUSH_DATAf(push, zmin); in nvc0_validate_viewport()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta_clear.c | 734 uint32_t zmin, zmax; in radv_get_htile_fast_clear_value() local 737 zmin = lroundf(value.depth * max_zval); in radv_get_htile_fast_clear_value() 738 zmax = zmin; in radv_get_htile_fast_clear_value() 748 ((zmin & 0x3fff) << 4) | in radv_get_htile_fast_clear_value()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_context.h | 386 float zmin; member
|
D | svga_state_framebuffer.c | 731 svga->state.hw_clear.depthrange.zmin = vp->minDepth; in emit_viewport()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_state.c | 5545 bool window_space_position, float *zmin, float *zmax) in iris_viewport_zmin_zmax() argument 5548 *zmin = 0.f; in iris_viewport_zmin_zmax() 5552 util_viewport_zmin_zmax(vp, halfz, zmin, zmax); in iris_viewport_zmin_zmax() 5827 float zmin, zmax; in iris_upload_dirty_render_state() local 5830 &zmin, &zmax); in iris_upload_dirty_render_state() 5832 zmin = 0.0; in iris_upload_dirty_render_state() 5837 ccv.MinimumDepth = zmin; in iris_upload_dirty_render_state()
|
/third_party/mesa3d/docs/relnotes/ |
D | 12.0.2.rst | 192 - gallium/util: add helper to compute zmin/zmax for a viewport state
|