mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Externals: Update glslang.
This updates glslang to commit 4fc7a33910fb8e40b970d160e1b38ab3f67fe0f3 which is the current version listed in the known_good.json file for the version 1.2.131.2 of the Vulkan-ValidationLayers repo.
This commit is contained in:
6
Externals/glslang/update_glslang_sources.py
vendored
6
Externals/glslang/update_glslang_sources.py
vendored
@ -66,7 +66,7 @@ def command_retval(cmd, directory):
|
||||
p = subprocess.Popen(cmd,
|
||||
cwd=directory,
|
||||
stdout=subprocess.PIPE)
|
||||
(stdout, _) = p.communicate()
|
||||
p.communicate()
|
||||
return p.returncode
|
||||
|
||||
|
||||
@ -95,8 +95,8 @@ class GoodCommit(object):
|
||||
|
||||
def AddRemote(self):
|
||||
"""Add the remote 'known-good' if it does not exist."""
|
||||
print('Ignore "fatal" errors for missing known-good remote:')
|
||||
if command_retval(['git', 'remote', 'show', 'known-good'], self.subdir) != 0:
|
||||
remotes = command_output(['git', 'remote'], self.subdir).splitlines()
|
||||
if b'known-good' not in remotes:
|
||||
command_output(['git', 'remote', 'add', 'known-good', self.GetUrl()], self.subdir)
|
||||
|
||||
def HasCommit(self):
|
||||
|
Reference in New Issue
Block a user