diff options
author | Eric Anholt <[email protected]> | 2014-09-24 21:14:44 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-09-25 16:41:25 -0700 |
commit | 45962fbeee6ef0011e63613fe25c14e7062d3e43 (patch) | |
tree | c7b2ce3816a3dafa739eb7a5f648cc31758279f3 /src/gallium/drivers/vc4 | |
parent | 43267a325f4a0c601a7899a7ea4b1927b4cd1f61 (diff) |
vc4: Fix miplevel validation for raster textures.
We were using the un-minified value, meaning we'd reject correctly laid
out textures.
Diffstat (limited to 'src/gallium/drivers/vc4')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_simulator_validate.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |