projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43267a3
)
vc4: Fix miplevel validation for raster textures.
author
Eric Anholt
<eric@anholt.net>
Thu, 25 Sep 2014 04:14:44 +0000
(21:14 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 25 Sep 2014 23:41:25 +0000
(16:41 -0700)
We were using the un-minified value, meaning we'd reject correctly laid
out textures.
src/gallium/drivers/vc4/vc4_simulator_validate.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_simulator_validate.c
b/src/gallium/drivers/vc4/vc4_simulator_validate.c
index cb8b565901680156e605d35870814e2a017ecd14..1b63bf334f27f3991fa4f1648d6f2b012326da68 100644
(file)
--- 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;
}