vc4: Fix texture type masking.

Everything from ETC1 to RGBA64 was getting its top bit dropped, but we
didn't use any of those formats.
This commit is contained in:
Eric Anholt
2015-01-13 16:43:16 +13:00
parent 6313a2c8f0
commit 0471f72755
+1 -1
View File
@@ -2570,7 +2570,7 @@ write_texture_p0(struct vc4_context *vc4,
texture->u.tex.first_level, VC4_TEX_P0_MIPLVLS) |
VC4_SET_FIELD(texture->target == PIPE_TEXTURE_CUBE,
VC4_TEX_P0_CMMODE) |
VC4_SET_FIELD(rsc->vc4_format & 7, VC4_TEX_P0_TYPE));
VC4_SET_FIELD(rsc->vc4_format & 15, VC4_TEX_P0_TYPE));
}
static void