diff options
author | Kenneth Graunke <[email protected]> | 2012-04-16 13:29:42 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-04-17 16:05:18 -0700 |
commit | 32f7676e9c09d9c13da3fa2518807ab94aad5fb2 (patch) | |
tree | a7f83004f5f8995bd9390c47457398dea658f39b /src/gallium/drivers/radeonsi | |
parent | fbea94ae59817c1d9db9b2f1e257daeadf7c15a9 (diff) |
glsl/builtins: Rework profiles to use the new '.glsl' common suffix.
Deletes a lot of pointless duplication, as well as some run-time effort.
Conveniently, GLSL 1.40 no longer needs a .vert variant, since it
doesn't define any built-ins specific to the vertex shader stage.
ARB_texture_rectangle and OES_EGL_image_external also only need a single
profile, since the .vert and .frag variants were identical.
I didn't bother with EXT_texture_array and OES_texture_3D because
they're so tiny that the savings would be miniscule.
Cuts the generated builtin_function.cpp from 1.7MB to 1.0MB (41%).
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Acked-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
0 files changed, 0 insertions, 0 deletions