Lines Matching defs:depth

32  * To be done accurately/efficiently the depth/stencil test must be done with
33 * the same type/format of the depth/stencil buffer, which implies massaging
35 * type/format for depth/stencil values internally and only convert when
36 * flushing would avoid this, but it would most likely result in depth fighting
40 * processing unit is a quad (2x2 pixel block) we store the depth/stencil
41 * values tiled, a quad at time. That is, a depth buffer containing
302 * Return a type appropriate for depth/stencil testing.
426 * Test the depth mask. Add the number of channel which has none zero mask
431 * \param maskvalue is the depth test mask.
521 * Generate code for performing depth and/or stencil tests.
524 * \param depth the depth test state
526 * \param type the data type of the fragment depth/stencil values
527 * \param format_desc description of the depth/stencil surface
530 * \param z_src the incoming depth/stencil values (n 2x2 quad values, float32)
531 * \param zs_dst_ptr pointer to depth/stencil values in framebuffer
536 const struct pipe_depth_state *depth,
576 /* Pick the depth type. */
579 /* FIXME: Cope with a depth test type with a different bit width. */
583 /* FIXME: for non-float depth/stencil might generate better code
597 assert(depth->enabled || stencil[0].enabled);
719 if (depth->enabled) {
758 z_pass = lp_build_cmp(&z_bld, depth->func, z_src, z_dst);
773 if (depth->writemask) {
808 /* No depth test: apply Z-pass operator to stencil buffer values which
827 if ((depth->enabled && depth->writemask) ||
843 if (depth->enabled && stencil[0].enabled)