summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/gen7_wm_state.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2011-12-15 13:43:00 -0800
committerKenneth Graunke <kenneth@whitecape.org>2011-12-19 16:33:09 -0800
commit79d981cd03f2e2e8f67ab21d52711de989bb9a44 (patch)
tree1fd5532420dd85caa0badccc2f1e400544d5eb81 /src/mesa/drivers/dri/i965/gen7_wm_state.c
parentc66242a6c69f266eef5c6a5f2a1cece911ea9568 (diff)
downloadexternal_mesa3d-79d981cd03f2e2e8f67ab21d52711de989bb9a44.zip
external_mesa3d-79d981cd03f2e2e8f67ab21d52711de989bb9a44.tar.gz
external_mesa3d-79d981cd03f2e2e8f67ab21d52711de989bb9a44.tar.bz2
i965: Don't minify depth when setting up cube map miptrees on Gen4.
Prior to Ironlake, cube maps were stored as 3D textures. In recent refactoring, we removed a separate "layers" parameter in favor of using depth. Unfortunately, depth was getting minified, which is only correct for actual 3D textures. Fixes piglit tests: - bugs/crash-cubemap-order - fbo/fbo-cubemap - texturing/cubemap Also changes texturing/cubemap npot from abort to fail. This hasn't seen a full test run since Piglit on Mesa master hangs GM45 a lot. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen7_wm_state.c')
0 files changed, 0 insertions, 0 deletions