diff options
author | Kenneth Graunke <[email protected]> | 2010-11-11 12:11:27 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2010-11-30 13:48:28 -0800 |
commit | f5692f452f7ae77d1e710041ffebb468cc5ba87b (patch) | |
tree | 42cae3cfa1dd713f8eb54593926baaab1d10ef42 /src/glsl/builtins | |
parent | 01a25bb64ecae156729794320f9a39733ff8eeaa (diff) |
glsl: Lazily import built-in function prototypes.
This makes a very simple 1.30 shader go from 196k of memory to 9k.
NOTE: This -may- be a candidate for the 7.9 branch, as the benefit is
substantial. However, it's not a simple change, so it may be wiser to
wait for 7.10.
Diffstat (limited to 'src/glsl/builtins')
-rwxr-xr-x | src/glsl/builtins/tools/generate_builtins.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/builtins/tools/generate_builtins.py b/src/glsl/builtins/tools/generate_builtins.py index 1f1056ea096..5ea4b5c48f4 100755 --- a/src/glsl/builtins/tools/generate_builtins.py +++ b/src/glsl/builtins/tools/generate_builtins.py @@ -214,7 +214,6 @@ _mesa_read_profile(struct _mesa_glsl_parse_state *state, builtin_profiles[profile_index] = sh; } - import_prototypes(sh->ir, instructions, state->symbols, state); state->builtins_to_link[state->num_builtins_to_link] = sh; state->num_builtins_to_link++; } |