aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/es_generator.py
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-07-27 14:38:37 -0700
committerIan Romanick <[email protected]>2012-08-17 18:12:20 -0700
commit34472a0d8713c4eb300c9d1de0844c8b78bcf1ab (patch)
tree9873907c9a5cc5769ec943629ea2ece0581df95a /src/mesa/main/es_generator.py
parentd707e337f5f9a7b6ed465ade1b0b7c06606dde22 (diff)
mesa/es: Don't generate ES1 type conversion wrappers
These are gradually going to get whittled away and eventually folded into the source files with the native type functions. v2: Add (speculative) SConscript changes. These may be broken. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/es_generator.py')
-rw-r--r--src/mesa/main/es_generator.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/es_generator.py b/src/mesa/main/es_generator.py
index cad3deaef94..b074e9dcf78 100644
--- a/src/mesa/main/es_generator.py
+++ b/src/mesa/main/es_generator.py
@@ -201,6 +201,10 @@ print """
#endif
""" % (versionHeader, versionExtHeader, shortname.upper())
+if version == "GLES1.1":
+ print '#include "main/es1_conversion.h"'
+ print
+
# Everyone needs these types.
print """
/* These types are needed for the Mesa veneer, but are not defined in
@@ -566,6 +570,9 @@ for funcName in keys:
# endfor every param
+ if conversionCodeOutgoing != [] or conversionCodeIncoming != []:
+ continue
+
# Here, the passthroughDeclarationString and passthroughCallString
# are complete; remove the extra ", " at the front of each.
passthroughDeclarationString = passthroughDeclarationString[2:]