summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/vc4/vc4_simulator_validate.c2
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;
}