/// <summary> /// Creates the default reflection info output path using the given SSL source path. /// </summary> /// <param name="inPath">The path to the SSL source file.</param> /// <returns>The default reflection info path, or <c>null</c> if the input was null.</returns> public static string MakeDefaultReflectionPath(string inPath) => (inPath != null) ? Path.GetFullPath(PathUtils.ReplaceExtension(inPath, ".refl")) : null;
/// <summary> /// Creates the default SPIR-V bytecode output path using the given SSL source path. /// </summary> /// <param name="inPath">The path to the SSL source file.</param> /// <returns>The default bytecode path, or <c>null</c> if the input was null.</returns> public static string MakeDefaultOutputPath(string inPath) => (inPath != null) ? Path.GetFullPath(PathUtils.ReplaceExtension(inPath, ".spv")) : null;