This commit is contained in:
red-prig 2022-10-31 20:29:52 +03:00
parent 4b37717ec7
commit 45a02161c5
1 changed files with 5 additions and 0 deletions

View File

@ -562,6 +562,11 @@ begin
tiler.m_paddedDepth :=tiler.m_linearDepth ;
end else
Case m_bitsPerElement of
64:begin
tiler.m_paddedWidth :=(tiler.m_linearWidth +3) and (not 3);
tiler.m_paddedHeight:=(tiler.m_linearHeight+7) and (not 7);
tiler.m_paddedDepth :=tiler.m_linearDepth;
end;
32:begin
tiler.m_paddedWidth :=(tiler.m_linearWidth +7) and (not 7);
tiler.m_paddedHeight:=(tiler.m_linearHeight+7) and (not 7);