summaryrefslogtreecommitdiff
path: root/generated_tests/gen_builtin_uniform_tests.py
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2012-05-07 14:22:49 -0700
committerEric Anholt <eric@anholt.net>2012-05-22 16:31:38 -0700
commit54516c544d3f8b447771789aa38240251388e2c5 (patch)
treece0faedc4afcf4c8982fbf7f862ff60baf6448ee /generated_tests/gen_builtin_uniform_tests.py
parent19923825808c7067a3acfe6f6f64136b1ae332fe (diff)
generated tests: Fix the "#version 110" skipping I broke.
The float changes I did for a bunch of the >= comparisons were not fully done here, and the comparison was always false, so we got a bunch of extra #version 110 statements.
Diffstat (limited to 'generated_tests/gen_builtin_uniform_tests.py')
-rw-r--r--generated_tests/gen_builtin_uniform_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/generated_tests/gen_builtin_uniform_tests.py b/generated_tests/gen_builtin_uniform_tests.py
index 5ff595f32..04d547e88 100644
--- a/generated_tests/gen_builtin_uniform_tests.py
+++ b/generated_tests/gen_builtin_uniform_tests.py
@@ -362,7 +362,7 @@ class ShaderTest(object):
return self._signature.version_introduced
def version_directive(self):
- if float(self.glsl_version()) == '1.10':
+ if self.glsl_version() == '1.10':
return ''
else:
return '#version {0}\n'.format(self.glsl_version().replace('.', ''))