diff options
author | Anuj Phogat <[email protected]> | 2012-09-20 13:17:19 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2012-09-21 13:31:58 -0700 |
commit | eb1d87fb945783448cc40ad43c9cd4d98002d424 (patch) | |
tree | e12a6a1d37b10c68c3afcfd2ae71a8869feb92b0 /src/gallium | |
parent | 8ed9aaea5112bcda9ec7120e1c3b6f0447cc6cd2 (diff) |
meta: Add on demand compilation of per target shader programs
A call to glGenerateMipmap() follows the generation of a relevant
shader program in setup_glsl_generate_mipmap().
To support all texture targets and to avoid compiling shaders
everytime, per target shader programs are compiled on demand
and saved for the next call.
Fixes float-texture(mipmap.manual):
See Comment 6: https://bugs.freedesktop.org/show_bug.cgi?id=54296
NOTE: This is a candidate for stable branches.
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions