diff options
author | Kenneth Graunke <[email protected]> | 2011-06-13 17:43:32 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-06-14 18:29:48 -0700 |
commit | 7c7a8a38e530a63717a2f374ae0574d8abf11e17 (patch) | |
tree | 027d23a439657c50aec4a236fa0645db49e2ecb7 /src/glsl/builtins/tools/generate_builtins.py | |
parent | 1e16c34c5c86690b26739fbad82617768b1bd837 (diff) |
glsl/generate_builtins.py: Remove regexp to kill pointer addresses.
Commit 56ef62d9885f805bbfb2243dc860ff425d5b4d3b
"glsl: Generate readable unique names at print time."
changed ir_print_visitor to not generate @0x1234567 suffixes except
where necessary. So there's no need to manually remove them.
Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/builtins/tools/generate_builtins.py')
-rwxr-xr-x | src/glsl/builtins/tools/generate_builtins.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/glsl/builtins/tools/generate_builtins.py b/src/glsl/builtins/tools/generate_builtins.py index edd3c70e00b..17d528c2180 100755 --- a/src/glsl/builtins/tools/generate_builtins.py +++ b/src/glsl/builtins/tools/generate_builtins.py @@ -82,10 +82,6 @@ def write_profile(filename, profile): kill_globals = re.compile(r'^\(declare.*\n', re.MULTILINE) proto_ir = kill_globals.sub('', proto_ir) - # Kill pointer addresses. They're not necessary in prototypes and just - # clutter the diff output. - proto_ir = re.sub(r'@0x[0-9a-f]+', '', proto_ir) - print 'static const char prototypes_for_' + profile + '[] =' print stringify(proto_ir), ';' |