From 45962fbeee6ef0011e63613fe25c14e7062d3e43 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 24 Sep 2014 21:14:44 -0700 Subject: [PATCH] vc4: Fix miplevel validation for raster textures. We were using the un-minified value, meaning we'd reject correctly laid out textures. --- src/gallium/drivers/vc4/vc4_simulator_validate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/vc4/vc4_simulator_validate.c b/src/gallium/drivers/vc4/vc4_simulator_validate.c index cb8b5659016..1b63bf334f2 100644 --- a/src/gallium/drivers/vc4/vc4_simulator_validate.c +++ b/src/gallium/drivers/vc4/vc4_simulator_validate.c @@ -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; } -- 2.30.2