mesa: Set correct values for range/precision of shader integer types
[mesa.git] / src / mesa / main / texfetch_tmp.h
index 9d57ad7679bd2a59b8d5acca0746ba7f1412d7e0..36dede57f002eb8a005f4a78258791583a83c915 100644 (file)
@@ -837,7 +837,7 @@ static void store_texel_argb2101010(struct gl_texture_image *texImage,
 {
    const GLubyte *rgba = (const GLubyte *) texel;
    GLuint *dst = TEXEL_ADDR(GLuint, texImage, i, j, k, 1);
-   *dst = PACK_COLOR_2101010(rgba[ACOMP], rgba[RCOMP], rgba[GCOMP], rgba[BCOMP]);
+   *dst = PACK_COLOR_2101010_UB(rgba[ACOMP], rgba[RCOMP], rgba[GCOMP], rgba[BCOMP]);
 }
 #endif