summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/readpix.h
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2012-08-31 13:51:39 -0700
committerAnuj Phogat <[email protected]>2012-09-14 11:23:03 -0700
commit299acac849eb8506de9760c94c6e8e8b1046d909 (patch)
tree0c5bd5f19f31e6d0d6cedbd19fdca0287bd4a989 /src/mesa/main/readpix.h
parentfb541662ebab5297e0e926f76ef5aacd8552b18e (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/main/readpix.h')
0 files changed, 0 insertions, 0 deletions