Bug 108065 - Launching SteamVR results in nir_deref_instr_remove_if_unused assert
Summary: Launching SteamVR results in nir_deref_instr_remove_if_unused assert
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Vulkan/radeon (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-25 21:31 UTC by Andres Rodriguez
Modified: 2018-10-03 14:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Andres Rodriguez 2018-09-25 21:31:27 UTC
When launching SteamVR, the vrcompositor process hits the following assert:

vrcompositor: ../src/compiler/nir/nir_deref.c:95: nir_deref_instr_remove_if_unused: Assertion `d->dest.is_ssa' failed.

This regression started with the change:
864c78 "nir/opt_if: Re-materialize derefs in use blocks before peeling loops"

https://gitlab.freedesktop.org/mesa/mesa/commit/864c780566b8782c4fc69b4337db768223717bd8
Comment 1 Andres Rodriguez 2018-09-27 17:49:29 UTC
Issue resolved by:
https://patchwork.freedesktop.org/series/50059/
Comment 2 Samuel Pitoiset 2018-10-03 14:42:19 UTC
The series has been pushed, closing.


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.