Home
last modified time | relevance | path

Searched refs:zmin (Results 1 - 24 of 24) sorted by relevance

/third_party/mesa3d/src/mesa/main/
H A 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()
150 _mesa_error(ctx, GL_INVALID_VALUE, "glDepthBoundsEXT(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()
H A Dfeedback.c352 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()
H A Ddlist.c5509 save_DepthBoundsEXT(GLclampd zmin, GLclampd zmax) in save_DepthBoundsEXT() argument
5516 n[1].f = (GLfloat) zmin; in save_DepthBoundsEXT()
5520 CALL_DepthBoundsEXT(ctx->Exec, (zmin, zmax)); in save_DepthBoundsEXT()
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_viewport.h39 float *zmin, float *zmax) in util_viewport_zmin_zmax()
50 *zmin = a < b ? a : b; 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 Dsi_state_viewport.c536 bool window_space_position, float *zmin, float *zmax) in si_viewport_zmin_zmax()
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()
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 Dsi_clear.c606 /* Convert depthValue to 14-bit zmin/zmax uint values. */ in si_get_htile_clear_value()
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/
H A 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()
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/mesa3d/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_emit.c715 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/
H A Dfd4_emit.c815 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/
H A 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()
278 PUSH_DATAf(push, zmin); in nv50_validate_viewport()
/third_party/openssl/test/
H A Dasn1_encode_test.c175 #define ENCDEC_ARRAY(max, zmax, min, zmin) \
177 ENCDEC_DATA(min,zmin), \
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A 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()
433 PUSH_DATAf(push, zmin); in nvc0_validate_viewport()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_emit.c1001 float zmin, zmax; variable
1003 &zmin, &zmax);
1005 OUT_REG(ring, A6XX_GRAS_CL_Z_CLAMP_MIN(0, zmin),
1008 OUT_REG(ring, A6XX_RB_Z_CLAMP_MIN(zmin), A6XX_RB_Z_CLAMP_MAX(zmax));
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_meta_clear.c734 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()
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()
H A Dradv_cmd_buffer.c1639 float zmin, zmax; in radv_emit_viewport() local
1642 zmin = 0.0f; in radv_emit_viewport()
1645 zmin = MIN2(viewport->viewports[i].minDepth, viewport->viewports[i].maxDepth); in radv_emit_viewport()
1649 radeon_emit(cmd_buffer->cs, fui(zmin)); in radv_emit_viewport()
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_context.h386 float zmin; member
H A Dsvga_state_framebuffer.c591 * less than zmin. Detect that case, flip the depth range and in get_viewport_prescale()
602 /* If zmin is less than 0, clamp zmin to 0 and adjust the prescale. in get_viewport_prescale()
603 * zmin can be set to -1 when viewport->scale[2] is set to 1 and in get_viewport_prescale()
731 svga->state.hw_clear.depthrange.zmin = vp->minDepth; in emit_viewport()
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_state.c5545 bool window_space_position, float *zmin, float *zmax) in iris_viewport_zmin_zmax()
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()
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 Dcrocus_state.c5627 bool window_space_position, float *zmin, float *zmax) in crocus_viewport_zmin_zmax()
5630 *zmin = 0.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);
5918 zmin = 0.0;
5923 ccv.MinimumDepth = zmin;
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 Dglext.h6773 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 Dglcorearb.h5076 typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
5080 GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
/third_party/mesa3d/include/GL/
H A Dglext.h6791 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 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);
/third_party/skia/third_party/externals/opengl-registry/api/GL/
H A Dglext.h6767 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);

Completed in 249 milliseconds