Home
last modified time | relevance | path

Searched refs:mrd (Results 1 - 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_surface.c95 lp->mrd = util_get_depth_format_mrd(depth_desc); in llvmpipe_set_framebuffer_state()
H A Dlp_context.h144 double mrd; /**< minimum resolvable depth value, for polygon offset */ member
H A Dlp_state_setup.c294 /* Clamping to zero means mrd will be zero for very small numbers, in lp_do_offset_tri()
296 * mrd to smallest normal number instead. */ in lp_do_offset_tri()
786 (float) (lp->rasterizer->offset_units * lp->mrd * 2); in lp_make_setup_variant_key()
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_offset.c104 /* Clamping to zero means mrd will be zero for very small numbers, in do_offset_tri()
106 * mrd to smallest normal number instead. */ in do_offset_tri()
190 offset->units = (float) (rast->offset_units * stage->draw->mrd * 2); in offset_first_tri()
H A Ddraw_private.h290 double mrd; /**< minimum resolvable depth value, for polygon offset */ member
H A Ddraw_context.c262 draw->mrd = util_get_depth_format_mrd(desc); in draw_set_zs_format()
/third_party/mesa3d/src/util/format/
H A Du_format.c343 double mrd = 1.0 / ((1 << 24) - 1); in util_get_depth_format_mrd() local
358 mrd = 1.0 / ((1ULL << depth_bits) - 1); in util_get_depth_format_mrd()
361 return mrd; in util_get_depth_format_mrd()
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_program.c2181 double mrd = 0.0; in crocus_update_compiled_clip() local
2183 mrd = util_get_depth_format_mrd(util_format_description(ice->state.framebuffer.zsbuf->format)); in crocus_update_compiled_clip()
2184 key.offset_units = rs_state->offset_units * mrd * 2; in crocus_update_compiled_clip()
2185 key.offset_factor = rs_state->offset_scale * mrd; in crocus_update_compiled_clip()
2186 key.offset_clamp = rs_state->offset_clamp * mrd; in crocus_update_compiled_clip()

Completed in 12 milliseconds