diff options
author | Eric Anholt <[email protected]> | 2008-03-18 19:45:30 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2008-03-18 20:17:56 -0700 |
commit | b790b24ff9204eb6f305b14bd40bb903e65dd541 (patch) | |
tree | 5712fd2131b525e75a48bdbf7d06362f318701e0 /include | |
parent | c2814f2a3fbfa0e4ba6c45347fcadd3722b005ff (diff) |
[i915] Bug #13634: Fix bugs in 945 cube mipmap layout.
The most egregious, and the one the bug report and failure in the cubemap
demo were about was introduced with intel_mipmap_pitch_align(), where a
"* 2" for the pitch calculation was lost. The base size < 32 case also
failed to align, which may have caused problems with render to texture.
Another bug would have broken 2x2/1x1 base mipmap levels by placing the
data where the hardware wouldn't look for it.
Other bugs remain with the layout of the small mipmap faces (hardware looks
for them in X,Y,Z,-X,-Y,-Z order along the bottom row, but we lay them out
X,-X,Y,-Y,Z,-Z).
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions