[GPU] Fix TextureInfo::Prepare for 3D textures.
This commit is contained in:
parent
56dd07e329
commit
73d75c56e1
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue