summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/convolve.c
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2012-01-25 19:05:45 -0800
committerAnuj Phogat <[email protected]>2012-02-01 18:49:22 -0800
commit15986d21ebaaeedb234b066edba5cf7f6ea87a3c (patch)
tree0112fb0c7e701358ed097567f15a524dc8cb3d47 /src/mesa/main/convolve.c
parentcff0eac702e0070d4d7f0e2ae5f785ec10597d4d (diff)
mesa: fix maximum allowed proxy texture size condition
width, height parameter in glTexImage2D() includes: texture image width + 2 * border (if any). So when doing the texture size check in _mesa_test_proxy_teximage() width and height should not exceed maximum supported size for target texture type. i.e. 1 << (ctx->Const.MaxTextureLevels - 1) Texture border is anyway stripped out before it is given to intel or gallium drivers. This patch fixes Intel oglconform test case: max_values Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44970 Note: This is a candidate for mesa 8.0 branch. Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/main/convolve.c')
0 files changed, 0 insertions, 0 deletions