summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-10-06 15:47:38 -0700
committerEric Anholt <[email protected]>2014-10-09 11:01:09 +0200
commit67aea92964ed06f10097271822f4a16378138be5 (patch)
tree41883924b38cfa21513fae0a1e00678d14fc4dda /common.py
parent0b96a086cbb4bcf0a5aab1fee6d77c1e40295297 (diff)
vc4: Mostly fix offset calculation for NPOT mipmap levels.
The non-base NPOT levels are stored as POT-aligned images. We get that POT alignment by minifying the POT-aligned base level. This means that level strides are also POT aligned, so we have to tell the rendering mode config that our resource is larger than the actual requested area. Fixes the fbo-generatemipmap-formats NPOT cases. Regresses depthstencil-render-miplevels 273 * -- the texture presentation now works (where it was completely broken before), it looks like there's some overflow of image bounds happening at the lower miplevels.
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions