[GPU] Fix TextureInfo::Prepare for 3D textures.

This commit is contained in:
gibbed 2018-05-24 23:45:38 -05:00
parent 56dd07e329
commit 73d75c56e1
1 changed files with 1 additions and 0 deletions

View File

@ -84,6 +84,7 @@ bool TextureInfo::Prepare(const xe_gpu_texture_fetch_t& fetch,
info.CalculateTextureSizes3D(fetch.size_3d.width + 1, info.CalculateTextureSizes3D(fetch.size_3d.width + 1,
fetch.size_3d.height + 1, fetch.size_3d.height + 1,
fetch.size_3d.depth + 1); fetch.size_3d.depth + 1);
break;
} }
case Dimension::kCube: { case Dimension::kCube: {
info.CalculateTextureSizesCube(fetch.size_stack.width + 1, info.CalculateTextureSizesCube(fetch.size_stack.width + 1,