mesa/0001-nv50-fix-max-texture-levels.patch

19 lines
764 B
Diff
Raw Normal View History

diff -up Mesa-7.11/src/gallium/drivers/nv50/nv50_screen.c.jx Mesa-7.11/src/gallium/drivers/nv50/nv50_screen.c
--- Mesa-7.11/src/gallium/drivers/nv50/nv50_screen.c.jx 2011-07-08 21:37:09.000000000 -0400
+++ Mesa-7.11/src/gallium/drivers/nv50/nv50_screen.c 2011-10-25 13:20:36.605408094 -0400
@@ -76,11 +76,11 @@ nv50_screen_get_param(struct pipe_screen
case PIPE_CAP_MAX_COMBINED_SAMPLERS:
return 64;
case PIPE_CAP_MAX_TEXTURE_2D_LEVELS:
- return 13;
+ return 14;
case PIPE_CAP_MAX_TEXTURE_3D_LEVELS:
- return 10;
+ return 12;
case PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS:
- return 13;
+ return 14;
case PIPE_CAP_ARRAY_TEXTURES: /* shader support missing */
return 0;
case PIPE_CAP_TEXTURE_MIRROR_CLAMP: