Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def ChooseSubsuite(name):
- # name: generated/test_2_conformance2__vertex_arrays__vertex-array-object.html
- split = name.split('__')
- version = '1'
- if '/test_2_' in split[0]:
- version = '2'
- category = 'core'
- split[0] = split[0].split('/')[1]
- if 'deqp' in split[0]:
- if version == '1':
- # There's few enough that we'll just merge them with webgl1-ext.
- category = 'ext'
- else:
- category = 'deqp'
- elif 'conformance' in split[0]:
- if split[1] in ('glsl', 'glsl3', 'ogles'):
- category = 'ext'
- elif split[1] == 'textures' and split[2] != 'misc':
- category = 'ext'
- return 'webgl{}-{}'.format(version, category)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement