summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_draw.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-10-14 14:28:14 +0100
committerEric Anholt <[email protected]>2014-10-14 14:57:50 +0100
commita2d8b6dbd5359e5dc930e22ac21a92bf20587401 (patch)
tree0d9c1dd8bda0b97319e07b8d60e3e01cce203161 /src/gallium/drivers/vc4/vc4_draw.c
parentb5fc9d5664d08d2e47ae89bf580e43732346a694 (diff)
vc4: Fix render target NPOT alignment at small miplevels.
The texturing hardware takes the POT level 0 width/height and minifies those. This is different from what we were doing, for example, for 273-wide's level 5: POT(273>>5) == 8, while POT(273)>>5 == 16. Fixes piglit-depthstencil-render-miplevels 273.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_draw.c')
0 files changed, 0 insertions, 0 deletions