Home
last modified time | relevance | path

Searched refs:zmin (Results 1 – 25 of 30) sorted by relevance

12

/external/mesa3d/src/mesa/main/
Ddepth.c145 _mesa_DepthBoundsEXT( GLclampd zmin, GLclampd zmax ) in _mesa_DepthBoundsEXT() argument
150 _mesa_debug(ctx, "glDepthBounds(%f, %f)\n", zmin, zmax); in _mesa_DepthBoundsEXT()
152 if (zmin > zmax) { in _mesa_DepthBoundsEXT()
157 zmin = SATURATE(zmin); in _mesa_DepthBoundsEXT()
160 if (ctx->Depth.BoundsMin == zmin && ctx->Depth.BoundsMax == zmax) in _mesa_DepthBoundsEXT()
165 ctx->Depth.BoundsMin = (GLfloat) zmin; in _mesa_DepthBoundsEXT()
Dfeedback.c238 GLuint zmin, zmax, zscale = (~0u); in write_hit_record() local
244 zmin = (GLuint) ((GLfloat) zscale * ctx->Select.HitMinZ); in write_hit_record()
248 write_record( ctx, zmin ); in write_hit_record()
Ddepth.h56 _mesa_DepthBoundsEXT( GLclampd zmin, GLclampd zmax );
Ddlist.c5724 save_DepthBoundsEXT(GLclampd zmin, GLclampd zmax) in save_DepthBoundsEXT() argument
5731 n[1].f = (GLfloat) zmin; in save_DepthBoundsEXT()
5735 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
51 *zmin = a < b ? a : b; in util_viewport_zmin_zmax()
/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2EdgeUtil.java249 private double zmin; field in S2EdgeUtil.XYZPruner
270 zmin = zmax = from.z; in addEdgeToBounds()
274 zmin = Math.min(zmin, Math.min(to.z, from.z)); in addEdgeToBounds()
300 zmin = zmin - maxDeformation; in setFirstIntersectPoint()
320 } else if ((v1.z < zmin && lastVertex.z < zmin) || (v1.z > zmax && lastVertex.z > zmax)) { in intersects()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_viewport.c509 bool window_space_position, float *zmin, float *zmax) in si_viewport_zmin_zmax() argument
512 *zmin = 0; in si_viewport_zmin_zmax()
516 util_viewport_zmin_zmax(vp, halfz, zmin, zmax); in si_viewport_zmin_zmax()
525 float zmin, zmax; in si_emit_depth_ranges() local
529 si_viewport_zmin_zmax(&states[0], clip_halfz, window_space, &zmin, &zmax); in si_emit_depth_ranges()
532 radeon_emit(cs, fui(zmin)); in si_emit_depth_ranges()
542 si_viewport_zmin_zmax(&states[i], clip_halfz, window_space, &zmin, &zmax); in si_emit_depth_ranges()
543 radeon_emit(cs, fui(zmin)); in si_emit_depth_ranges()
/external/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()
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()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_emit.c712 float zmin, zmax; in fd3_emit_state() local
720 &zmin, &zmax); in fd3_emit_state()
724 OUT_RING(ring, (uint32_t)(zmin * 0xffffffff)); in fd3_emit_state()
727 OUT_RING(ring, (uint32_t)(zmin * 0xffff)); in fd3_emit_state()
730 OUT_RING(ring, (uint32_t)(zmin * 0xffffff)); in fd3_emit_state()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_emit.c670 float zmin, zmax; in fd4_emit_state() local
678 &zmin, &zmax); in fd4_emit_state()
682 OUT_RING(ring, fui(zmin)); in fd4_emit_state()
685 OUT_RING(ring, (uint32_t)(zmin * 0xffff)); in fd4_emit_state()
688 OUT_RING(ring, (uint32_t)(zmin * 0xffffff)); in fd4_emit_state()
/external/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()
278 PUSH_DATAf(push, zmin); in nv50_validate_viewport()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_emit.c922 float zmin, zmax; in fd6_emit_state() local
924 &zmin, &zmax); in fd6_emit_state()
927 A6XX_GRAS_CL_Z_CLAMP_MIN(0, zmin), in fd6_emit_state()
931 A6XX_RB_Z_CLAMP_MIN(zmin), in fd6_emit_state()
/external/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()
433 PUSH_DATAf(push, zmin); in nvc0_validate_viewport()
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dsub-minmax.ll334 %zmin = sub i8 %zn, %minxyz
338 call void @use8(i8 %zmin)
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_context.h340 float zmin; member
Dsvga_state_framebuffer.c731 svga->state.hw_clear.depthrange.zmin = vp->minDepth; in emit_viewport()
/external/mesa3d/src/amd/vulkan/
Dsi_cmd_buffer.c680 float zmin = MIN2(viewports[i].minDepth, viewports[i].maxDepth); in si_write_viewport() local
682 radeon_emit(cs, fui(zmin)); in si_write_viewport()
/external/mesa3d/src/gallium/drivers/iris/
Diris_state.c5277 bool window_space_position, float *zmin, float *zmax) in iris_viewport_zmin_zmax() argument
5280 *zmin = 0.f; in iris_viewport_zmin_zmax()
5284 util_viewport_zmin_zmax(vp, halfz, zmin, zmax); in iris_viewport_zmin_zmax()
5503 float zmin, zmax; in iris_upload_dirty_render_state() local
5506 &zmin, &zmax); in iris_upload_dirty_render_state()
5508 zmin = 0.0; in iris_upload_dirty_render_state()
5513 ccv.MinimumDepth = zmin; in iris_upload_dirty_render_state()
/external/mesa3d/docs/relnotes/
D12.0.2.rst192 - gallium/util: add helper to compute zmin/zmax for a viewport state
/external/deqp/framework/platform/null/
DtcuNullRenderContextFuncs.inl1445 GLW_APICALL void GLW_APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax) argument
1447 DE_UNREF(zmin);
/external/deqp/framework/opengl/
DgluCallLogWrapper.inl1078 void CallLogWrapper::glDepthBoundsEXT (glw::GLclampd zmin, glw::GLclampd zmax) argument
1081 …m_log << TestLog::Message << "glDepthBoundsEXT(" << zmin << ", " << zmax << ");" << TestLog::EndMe…
1082 m_gl.depthBoundsEXT(zmin, zmax);
DgluCallLogWrapperApi.inl156 void glDepthBoundsEXT (glw::GLclampd zmin, glw::GLclampd zmax);
/external/deqp/framework/opengl/wrapper/
DglwImpl.inl1207 void glwDepthBoundsEXT (GLclampd zmin, GLclampd zmax) argument
1212 gl->depthBoundsEXT(zmin, zmax);
DglwApi.inl1062 void glwDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
DglwFunctionTypes.inl156 typedef GLW_APICALL void (GLW_APIENTRY* glDepthBoundsEXTFunc) (GLclampd zmin, GLclampd zm…

12