on Skylake GT2 this commit broke shadowmapping demo: commit ea744912b3fb2fe4a4d74dcb4f7bc8a07a8c6cf5 Author: Nanley Chery Date: Tue Jan 31 11:25:31 2017 -0800 anv/cmd_buffer: Conditionally choose the sampled image surface state Signed-off-by: Nanley Chery Reviewed-by: Jason Ekstrand Reverting it fixes the issue. The demos are also continuously printing: genX_cmd_buffer.c:507 ASSERT: iview->vk_format == att->format
Given that you're seeing that assert, the Sascha demo is doing at least one thing wrong with the API. If it's also doing layout transitions wrong, it would be very easy for that commit to cause problems. Run with validation enabled and report any errors against the Sascha demos. Once it's passing validation again, feel free to re-open and we can talk about driver bugs. Nanley, did you see this change and are you aware of exactly what's going wrong?
I've noticed the precompiled binaries are quite old, and indeed building them from source gives a correctly working shadowmapping demo without asserts. I've asked for update of the binaries: https://github.com/SaschaWillems/Vulkan/issues/301
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.