You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding some comments to the top of a spvasm file without providing a --target-env flag causes spirv-as to hang inside spvReadEnvironmentFromText; presumably caused by #5893 .
To reproduce, apply the following patch to add a test case:
When trying to parse SPIR-V version from assembly comments,
ensure a match against an initial comment doesn't cause the
scanner to go back to the beginning of the assembly text.
Fixed: KhronosGroup#5909
When trying to parse SPIR-V version from assembly comments,
ensure a match against an initial comment doesn't cause the
scanner to go back to the beginning of the assembly text.
Fixed: #5909
Adding some comments to the top of a spvasm file without providing a
--target-env
flag causes spirv-as to hang insidespvReadEnvironmentFromText
; presumably caused by #5893 .To reproduce, apply the following patch to add a test case:
Then build and run the
test/test_spirv_unit_tests
test suite. TheTargetTextParsing/TargetParseEnvInDisassemblyTest
test will hang.The text was updated successfully, but these errors were encountered: