Skip to content

Commit 5c4af66

Browse files
ShabbyXCommit Bot
authored andcommitted
Vulkan: unix line endings in generated shaders
Bug: angleproject:3007 Change-Id: I466caa92ae337508ae284b6fb8d38f5fa3ea1042 Reviewed-on: https://chromium-review.googlesource.com/c/1366796 Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
1 parent 33484b9 commit 5c4af66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libANGLE/renderer/vulkan/gen_vk_internal_shaders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def compile_variation(shader_file, shader_basename, flags, enums,
328328
if result != 0:
329329
raise Exception("Error compiling " + shader_file)
330330

331-
with open(output_path, 'a') as incfile:
331+
with open(output_path, 'ab') as incfile:
332332
shader_text = subprocess.check_output(glslang_preprocessor_output_args)
333333

334334
incfile.write('\n\n#if 0 // Generated from:\n')

0 commit comments

Comments
 (0)