summaryrefslogtreecommitdiff
path: root/framework/test/shader_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'framework/test/shader_test.py')
-rw-r--r--framework/test/shader_test.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/framework/test/shader_test.py b/framework/test/shader_test.py
index 4fb33a081..26a1d93ff 100644
--- a/framework/test/shader_test.py
+++ b/framework/test/shader_test.py
@@ -95,15 +95,10 @@ class ShaderTest(FastSkipMixin, PiglitBaseTest):
for line in lines:
line = line.strip()
if line.startswith('GL ES'):
- if line.endswith('3.0'):
- prog = 'shader_runner_gles3'
- elif line.endswith('2.0'):
+ if line.endswith('2.0'):
prog = 'shader_runner_gles2'
- # If we don't set gles2 or gles3 continue the loop,
- # probably htting the exception in the for/else
else:
- raise exceptions.PiglitFatalError(
- "In File {}: No GL ES version set".format(filename))
+ prog = 'shader_runner_gles3'
break
elif line.startswith('[') or self._is_gl.match(line):
# In the event that we reach the end of the config black