2, /* TexelBytes */
_mesa_texstore_dudv8, /* StoreTexImageFunc */
NULL, /* FetchTexel1D */
- NULL, /* FetchTexel2D */
+ NULL, /* FetchTexel2D */
NULL, /* FetchTexel3D */
- NULL, /* FetchTexel1Df */
+ fetch_texel_1d_dudv8, /* FetchTexel1Df */
fetch_texel_2d_dudv8, /* FetchTexel2Df */
- NULL, /* FetchTexel3Df */
+ fetch_texel_3d_dudv8, /* FetchTexel3Df */
NULL /* StoreTexel */
};
}
#endif
-
-
#endif /* FEATURE_EXT_texture_sRGB */
-#if DIM == 2
+
/* MESA_FORMAT_DUDV8 ********************************************************/
/* this format by definition produces 0,0,0,1 as rgba values,
texel[GCOMP] = BYTE_TO_FLOAT(src[1]);
texel[BCOMP] = 0;
texel[ACOMP] = 0;
-
}
-#endif
+
/* MESA_FORMAT_YCBCR *********************************************************/