KhronosGroup / SPIRV-Tools

Apache License 2.0
1.09k stars 559 forks source link

spirv-as: Assume target from spvasm text #5888

Open mmoult opened 1 week ago

mmoult commented 1 week ago

Assume the desired SPIR-V target version when the command line option is not provided. This is especially important when the source being assembled does not match the default (latest version), because it may create an invalid SPIR-V binary result.

Also, clarify the wording for where a copy of spirv-headers is expected (to match expected capitalization).

mmoult commented 1 week ago

This is a clean retry of https://github.com/KhronosGroup/SPIRV-Tools/pull/5683: @dneto0