summaryrefslogtreecommitdiffstats
path: root/src/mesa/SConscript
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-06-20 10:18:41 -0700
committerEric Anholt <[email protected]>2019-07-01 11:12:15 -0700
commit52a39a332fec1e5a8d686558b9a71e42bcfcbb0f (patch)
tree188067a80775d690eed12d88827bb69d521ca2dc /src/mesa/SConscript
parent1738b38ce8ef5fec6146225306bd70690a269afa (diff)
mesa: Replace gen_matypes with a simple header for V4F/mat layout.
We can greatly simplify our builds by just hardcoding GLvector4f and GLmatrix's layouts. Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/mesa/SConscript')
-rw-r--r--src/mesa/SConscript17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mesa/SConscript b/src/mesa/SConscript
index eaf23fbae18..da003743f59 100644
--- a/src/mesa/SConscript
+++ b/src/mesa/SConscript
@@ -103,23 +103,6 @@ if env['platform'] not in ('cygwin', 'darwin', 'windows', 'haiku'):
else:
pass
- # Generate matypes.h
- if env['machine'] in ('x86', 'x86_64'):
- # See http://www.scons.org/wiki/UsingCodeGenerators
- gen_matypes = env.Program(
- target = 'gen_matypes',
- source = 'x86/gen_matypes.c',
- )
- matypes = env.Command(
- 'matypes.h',
- gen_matypes,
- gen_matypes[0].abspath + ' > $TARGET',
- )
- # Add the dir containing the generated header (somewhere inside the
- # build dir) to the include path
- env.Prepend(CPPPATH = [matypes[0].dir])
-
-
# The marshal_generated.c file is generated from the GL/ES API.xml file
env.CodeGenerate(
target = 'main/marshal_generated.c',