vc4: Fix miplevel validation for raster textures.

We were using the un-minified value, meaning we'd reject correctly laid
out textures.
This commit is contained in:
Eric Anholt
2014-09-24 21:14:44 -07:00
parent 43267a325f
commit 45962fbeee
@@ -847,7 +847,7 @@ reloc_tex(struct exec_info *exec,
break;
default:
aligned_width = roundup(level_width, 16 / cpp);
aligned_height = height;
aligned_height = level_height;
break;
}