diff options
author | Anuj Phogat <[email protected]> | 2012-08-31 13:51:39 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2012-09-14 11:23:03 -0700 |
commit | 299acac849eb8506de9760c94c6e8e8b1046d909 (patch) | |
tree | 0c5bd5f19f31e6d0d6cedbd19fdca0287bd4a989 /src/mesa/program/hash_table.c | |
parent | fb541662ebab5297e0e926f76ef5aacd8552b18e (diff) |
_mesa_meta_GenerateMipmap: Support all texture targets by generating shaders at runtime
glsl path of _mesa_meta_GenerateMipmap() function would require different fragment
shaders depending on the texture target. This patch adds the code to generate
appropriate fragment shader programs at run time.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=54296
V2: Removed the code for integer textures as ARB is planning to
disallow automatic mipmap generation for integer textures.
Now using ralloc_asprintf in setup_glsl_generate_mipmap().
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/mesa/program/hash_table.c')
0 files changed, 0 insertions, 0 deletions