Home
last modified time | relevance | path

Searched refs:refByte (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i915/
Di830_state.c207 GLubyte refByte; in i830AlphaFunc() local
210 UNCLAMPED_FLOAT_TO_UBYTE(refByte, ref); in i830AlphaFunc()
211 refInt = (GLuint) refByte; in i830AlphaFunc()
Di915_state.c184 GLubyte refByte; in i915AlphaFunc() local
187 UNCLAMPED_FLOAT_TO_UBYTE(refByte, ref); in i915AlphaFunc()
192 (((GLuint) refByte) << S6_ALPHA_REF_SHIFT)); in i915AlphaFunc()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c540 ubyte refByte = float_to_ubyte(depth_stencil->alpha.ref_value); in i915_create_depth_stencil_state() local
544 (((unsigned) refByte) << S6_ALPHA_REF_SHIFT)); in i915_create_depth_stencil_state()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state.c74 GLubyte refByte; in radeonAlphaFunc() local
76 CLAMPED_FLOAT_TO_UBYTE(refByte, ref); in radeonAlphaFunc()
81 pp_misc |= (refByte & RADEON_REF_ALPHA_MASK); in radeonAlphaFunc()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state.c74 GLubyte refByte; in r200AlphaFunc() local
76 CLAMPED_FLOAT_TO_UBYTE(refByte, ref); in r200AlphaFunc()
81 pp_misc |= (refByte & R200_REF_ALPHA_MASK); in r200AlphaFunc()