/third_party/mesa3d/src/mesa/main/ |
H A D | depth.c | 142 _mesa_DepthBoundsEXT( GLclampd zmin, GLclampd zmax ) in _mesa_DepthBoundsEXT() 147 _mesa_debug(ctx, "glDepthBounds(%f, %f)\n", zmin, zmax); in _mesa_DepthBoundsEXT() 149 if (zmin > zmax) { in _mesa_DepthBoundsEXT() 150 _mesa_error(ctx, GL_INVALID_VALUE, "glDepthBoundsEXT(zmin > zmax)"); in _mesa_DepthBoundsEXT() 155 zmax = SATURATE(zmax); in _mesa_DepthBoundsEXT() 157 if (ctx->Depth.BoundsMin == zmin && ctx->Depth.BoundsMax == zmax) in _mesa_DepthBoundsEXT() 163 ctx->Depth.BoundsMax = zmax; in _mesa_DepthBoundsEXT()
|
H A D | feedback.c | 352 unsigned zmin, zmax; in update_hit_record() local 357 zmax = (unsigned) ((float)(~0u) * *(float *)(save++)); in update_hit_record() 360 zmax = 0; in update_hit_record() 369 zmax = MAX2(zmax, result[index + 2]); in update_hit_record() 384 write_record(ctx, zmax); in update_hit_record() 407 GLuint zmax = (GLuint) ((GLfloat) zscale * s->HitMaxZ); in update_hit_record() local 411 write_record(ctx, zmax); in update_hit_record()
|
H A D | dlist.c | 5509 save_DepthBoundsEXT(GLclampd zmin, GLclampd zmax) in save_DepthBoundsEXT() argument 5517 n[2].f = (GLfloat) zmax; in save_DepthBoundsEXT() 5520 CALL_DepthBoundsEXT(ctx->Exec, (zmin, zmax)); in save_DepthBoundsEXT()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_viewport.h | 39 float *zmin, float *zmax) in util_viewport_zmin_zmax() 51 *zmax = a < b ? b : a; in util_viewport_zmin_zmax() 38 util_viewport_zmin_zmax(const struct pipe_viewport_state *vp, bool halfz, float *zmin, float *zmax) util_viewport_zmin_zmax() argument
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_state_viewport.c | 536 bool window_space_position, float *zmin, float *zmax) in si_viewport_zmin_zmax() 540 *zmax = 1; 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() 561 radeon_emit(fui(zmax)); in si_emit_depth_ranges() 572 si_viewport_zmin_zmax(&states[i], clip_halfz, window_space, &zmin, &zmax); in si_emit_depth_ranges() 574 radeon_emit(fui(zmax)); in si_emit_depth_ranges() 535 si_viewport_zmin_zmax(const struct pipe_viewport_state *vp, bool halfz, bool window_space_position, float *zmin, float *zmax) si_viewport_zmin_zmax() argument
|
H A D | si_clear.c | 606 /* Convert depthValue to 14-bit zmin/zmax uint values. */ in si_get_htile_clear_value() 608 const uint32_t zmax = zmin; in si_get_htile_clear_value() local 616 return ((zmax & 0x3FFF) << 18) | in si_get_htile_clear_value() 633 const uint32_t zrange = (zmax << 6) | delta; in si_get_htile_clear_value()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A 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() 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/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
H A D | fd3_emit.c | 715 float zmin, zmax; in fd3_emit_state() local 723 &zmin, &zmax); in fd3_emit_state() 728 OUT_RING(ring, (uint32_t)(zmax * 0xffffffff)); in fd3_emit_state() 731 OUT_RING(ring, (uint32_t)(zmax * 0xffff)); in fd3_emit_state() 734 OUT_RING(ring, (uint32_t)(zmax * 0xffffff)); in fd3_emit_state()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
H A D | fd4_emit.c | 815 float zmin, zmax; in fd4_emit_state() local 823 &zmin, &zmax); in fd4_emit_state() 828 OUT_RING(ring, fui(zmax)); in fd4_emit_state() 831 OUT_RING(ring, (uint32_t)(zmax * 0xffff)); in fd4_emit_state() 834 OUT_RING(ring, (uint32_t)(zmax * 0xffffff)); in fd4_emit_state()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A 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() 279 PUSH_DATAf(push, zmax); in nv50_validate_viewport()
|
/third_party/openssl/test/ |
H A D | asn1_encode_test.c | 175 #define ENCDEC_ARRAY(max, zmax, min, zmin) \ 176 ENCDEC_DATA(max,zmax), \
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A 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() 434 PUSH_DATAf(push, zmax); in nvc0_validate_viewport()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
H A D | fd6_emit.c | 1001 float zmin, zmax; variable 1003 &zmin, &zmax); 1006 A6XX_GRAS_CL_Z_CLAMP_MAX(0, zmax)); 1008 OUT_REG(ring, A6XX_RB_Z_CLAMP_MIN(zmin), A6XX_RB_Z_CLAMP_MAX(zmax));
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta_clear.c | 734 uint32_t zmin, zmax; in radv_get_htile_fast_clear_value() local 736 /* Convert the depth value to 14-bit zmin/zmax values. */ in radv_get_htile_fast_clear_value() 738 zmax = zmin; in radv_get_htile_fast_clear_value() 747 htile_value = (((zmax & 0x3fff) << 18) | in radv_get_htile_fast_clear_value() 764 uint32_t zrange = ((zmax << 6) | delta); in radv_get_htile_fast_clear_value()
|
H A D | radv_cmd_buffer.c | 1639 float zmin, zmax; in radv_emit_viewport() local 1643 zmax = 1.0f; in radv_emit_viewport() 1646 zmax = MAX2(viewport->viewports[i].minDepth, viewport->viewports[i].maxDepth); in radv_emit_viewport() 1650 radeon_emit(cmd_buffer->cs, fui(zmax)); in radv_emit_viewport()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_context.h | 387 float zmax; member
|
H A D | svga_state_framebuffer.c | 590 /* D3D (and by implication SVGA) doesn't like dealing with zmax in get_viewport_prescale() 732 svga->state.hw_clear.depthrange.zmax = vp->maxDepth; in emit_viewport()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_state.c | 5545 bool window_space_position, float *zmin, float *zmax) in iris_viewport_zmin_zmax() 5549 *zmax = 1.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() 5834 zmax = 1.0; in iris_upload_dirty_render_state() 5838 ccv.MaximumDepth = zmax; in iris_upload_dirty_render_state() 5544 iris_viewport_zmin_zmax(const struct pipe_viewport_state *vp, bool halfz, bool window_space_position, float *zmin, float *zmax) iris_viewport_zmin_zmax() argument
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_state.c | 5627 bool window_space_position, float *zmin, float *zmax) in crocus_viewport_zmin_zmax() 5631 *zmax = 1.f; in crocus_viewport_zmin_zmax() 5634 util_viewport_zmin_zmax(vp, halfz, zmin, zmax); in crocus_viewport_zmin_zmax() 5913 float zmin, zmax; local 5916 &zmin, &zmax); 5920 zmax = 1.0; 5924 ccv.MaximumDepth = zmax; 5626 crocus_viewport_zmin_zmax(const struct pipe_viewport_state *vp, bool halfz, bool window_space_position, float *zmin, float *zmax) crocus_viewport_zmin_zmax() argument
|
/third_party/openGLES/api/GL/ |
H A D | glext.h | 6773 typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax); 6775 GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax); 9846 typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax); 9850 GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
|
H A D | glcorearb.h | 5076 typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax); 5080 GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
|
/third_party/mesa3d/include/GL/ |
H A D | glext.h | 6791 typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax); 6793 GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax); 9759 typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax); 9763 GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
|
/third_party/skia/third_party/externals/swiftshader/include/GL/ |
H A D | glext.h | 6768 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);
|
/third_party/skia/third_party/externals/opengl-registry/api/GL/ |
H A D | glext.h | 6767 typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax); 6769 GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax); 9666 typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax); 9670 GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
|