aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/hir_field_selection.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2011-07-30 16:44:49 -0700
committerKenneth Graunke <[email protected]>2011-08-01 23:57:37 -0700
commit81b036b4d79423c194596461b098a525af0102c2 (patch)
treea673891a1aa46bbccb25b4be93dcf5c0d9d91143 /src/glsl/hir_field_selection.cpp
parentb1b4ea0b3679db0b8fddaa9663a10d4712bba3b7 (diff)
i965/gen5+: Fix incorrect miptree layout for non-power-of-two cubemaps.
For power-of-two sizes, h0 == mt->height0 since it's already a multiple of two. However, for NPOT, they're different; h1 should be computed based on the original size. Fixes piglit test "cubemap npot" and oglconform test "textureNPOT". NOTE: This is a candidate for stable release branches. Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/hir_field_selection.cpp')
0 files changed, 0 insertions, 0 deletions