Skip to content

Commit

Permalink
vulkan: blacklist FUCHSIA strings
Browse files Browse the repository at this point in the history
Maybe one day we'll actually figure out how to make this python script
exclude platform-specific stuff in a way that doesn't rely on hardcoding
a list of strings to blacklist.

One day.

Fixes https://code.videolan.org/videolan/libplacebo/-/issues/131
  • Loading branch information
haasn committed Mar 23, 2021
1 parent b6d393d commit ac44e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vulkan/utils_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def get_vkstructs(registry):
# Strings for platform-specific crap we want to blacklist as they will
# most likely cause build failures
blacklist_strs = [
'ANDROID', 'Surface', 'Win32', 'D3D12', 'GGP'
'ANDROID', 'Surface', 'Win32', 'D3D12', 'GGP', 'FUCHSIA',
]

if any([ str in e.attrib['name'] for str in blacklist_strs ]):
Expand Down

0 comments on commit ac44e8f

Please sign in to comment.