diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2018-06-22 10:27:39 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-09-20 06:37:10 -0700 |
commit | 45f2526a71747f4ce68497d9f8affc8aadd08ef2 (patch) | |
tree | d50a61ac5375535a842dc6bc2dc9d7a75a97afd5 /framework | |
parent | d855820082de4e4fd06a3b0f169f0de1464f2fc7 (diff) |
framework/shader_test: GL_NUM_PROGRAM_BINARY_FORMATS >= 1 is not an extension
So don't treat it like one. Stops one test from being fast-skipped that
shouldn't be.
Diffstat (limited to 'framework')
-rw-r--r-- | framework/test/shader_test.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/framework/test/shader_test.py b/framework/test/shader_test.py index 6de3a6474..8ecc1808d 100644 --- a/framework/test/shader_test.py +++ b/framework/test/shader_test.py @@ -84,8 +84,10 @@ class Parser(object): "In file {}: Config block not found".format(self.filename)) for line in lines: - if line.startswith('GL_') and not line.startswith('GL_MAX'): - self.gl_required.add(line.strip()) + if line.startswith('GL_'): + line = line.strip() + if not (line.startswith('GL_MAX') or line.startswith('GL_NUM')): + self.extensions.add(line) continue # Find any GLES requirements. |