summaryrefslogtreecommitdiff
path: root/generated_tests/templates/gen_extensions_defined/enabled.glsl.mako
diff options
context:
space:
mode:
Diffstat (limited to 'generated_tests/templates/gen_extensions_defined/enabled.glsl.mako')
-rw-r--r--generated_tests/templates/gen_extensions_defined/enabled.glsl.mako4
1 files changed, 4 insertions, 0 deletions
diff --git a/generated_tests/templates/gen_extensions_defined/enabled.glsl.mako b/generated_tests/templates/gen_extensions_defined/enabled.glsl.mako
index 09a82fab1..c7bd33e05 100644
--- a/generated_tests/templates/gen_extensions_defined/enabled.glsl.mako
+++ b/generated_tests/templates/gen_extensions_defined/enabled.glsl.mako
@@ -34,6 +34,10 @@
#extension ${ext} : require
% endfor
+% if version.is_es:
+precision mediump float;
+% endif
+
#if !defined ${extension}
# error ${extension} is not defined
#elif ${extension} != 1