-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#33003Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work liste: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsplatform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specifically
Description
Given the following invocation of impellerc on windows:
C:\Users\Jonah\engine\src\out\host_debug_unopt\impellerc.exe --flutter-spirv --input=..\..\packages\flutter\lib\src\material\shaders\ink_sparkle.frag --spirv=foo
this uses the current directory to look up the provided file path, see
and
With the above invocation this will end up creating a path like:
\\?\C:\Users\Jonah\flutter\examples\hello_world\..\..\packages\flutter\lib\src\material\shaders\ink_sparkle.frag
I don't think the windows utilities were ever tested for opening files that aren't contained with an application directory bundle. If instead the input file is copied to the current directory, then everything works until we hit the next bug:
C:\Users\Jonah\engine\src\out\host_debug_unopt\impellerc.exe --flutter-spirv --input=ink_sparkle.frag --spirv=foo
ink_sparkle.frag
[ERROR:flutter/fml/platform/win/file_win.cc(446)] Could not replace temp file at correct path. File path: \\?\C:\Users\Jonah\flutter\examples\hello_world\foo. Temp file path: \\?\C:\Users\Jonah\flutter\examples\hello_world\foo.temp The process cannot access the file because it is being used by another process.
(32).
Could not write file to foo
FYI @zanderso
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work liste: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsplatform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specifically