<div dir="ltr"><div>Do you need this if you set compressZ = true for stencil?</div><div><br></div><div>Marek<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 18, 2018 at 11:00 AM, Bas Nieuwenhuizen <span dir="ltr"><<a href="mailto:bas@basnieuwenhuizen.nl" target="_blank">bas@basnieuwenhuizen.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Tile index 3 is "16 bpp depth PRT (non-MSAA), don't support<br>
uncompressed depth" while tile index 0 is "non-AA compressed depth<br>
or any stencil" per the comments at the top of the file.<br>
<br>
On my Cape Verde this caused assertions due to the bank height of<br>
tile index 3 being too low. (2 while needs to be aligned to 4).<br>
<br>
AMDVLK probably did not hit this because it always sets compressZ<br>
by default.<br>
<br>
</span>v2: Removed some garbage pastes (Ilia Mirkin)<br>
<span class=""><br>
CC: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>><br>
---<br>
</span> src/amd/addrlib/r800/<wbr>siaddrlib.cpp | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/amd/addrlib/r800/<wbr>siaddrlib.cpp b/src/amd/addrlib/r800/<wbr>siaddrlib.cpp<br>
index bc009f5aff0..79ae940b4c8 100644<br>
--- a/src/amd/addrlib/r800/<wbr>siaddrlib.cpp<br>
+++ b/src/amd/addrlib/r800/<wbr>siaddrlib.cpp<br>
<div class="HOEnZb"><div class="h5">@@ -2105,7 +2105,7 @@ VOID SiLib::HwlSetupTileInfo(<br>
}<br>
else // unCompressZ<br>
{<br>
- index = 3;<br>
+ index = 0;<br>
}<br>
}<br>
else //non PRT & non Depth & non Stencil<br>
-- <br>
2.17.1<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</div></div></blockquote></div><br></div>