diff options
author | Anuj Phogat <anuj.phogat@gmail.com> | 2012-09-20 13:17:19 -0700 |
---|---|---|
committer | Anuj Phogat <anuj.phogat@gmail.com> | 2012-09-21 13:31:58 -0700 |
commit | eb1d87fb945783448cc40ad43c9cd4d98002d424 (patch) | |
tree | e12a6a1d37b10c68c3afcfd2ae71a8869feb92b0 /src/gallium/drivers/r600 | |
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 <anuj.phogat@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/drivers/r600')
0 files changed, 0 insertions, 0 deletions