[Bug 108957] VkRunner tests assert when run with nir test environment variables

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 5 20:59:54 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=108957

--- Comment #1 from Jason Ekstrand <jason at jlekstrand.net> ---
This is entirely due to the way we handle hanging onto the entrypoint we get
out of SPIR-V.  The spirv_to_nir pass returns a nir_function_impl instead of a
nir_shader and we hang on to it while we do a couple of passes such as function
inlining.  We then go to delete all but the main entrypoint assuming that the
nir_function_impl pointer we're hanging on to is still valid.  If
NIR_TEST_CLONE is set, it won't be valid because it will have been cloned out
from under us.  This isn't an actual issue in production, but we should
probably sort out what to do about it one of these days.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20181205/f94891b8/attachment.html>


More information about the intel-3d-bugs mailing list