Skip to content

Instantly share code, notes, and snippets.

@dnicolodi
Created December 7, 2022 19:55
Show Gist options
  • Save dnicolodi/e4574512a4c0edc848bb55a67cb5ba4e to your computer and use it in GitHub Desktop.
Save dnicolodi/e4574512a4c0edc848bb55a67cb5ba4e to your computer and use it in GitHub Desktop.
option = get_option('gallium-drivers')
gallium_drivers = []
foreach driver in option:
if driver == 'auto':
...
else:
gallium_drivers += driver
endif
endforeach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment