From: Ilia Mirkin Date: Fri, 29 Nov 2013 06:17:25 +0000 (-0500) Subject: nv50: enable seamless cube maps on all hw X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc8da4c29bc44731df1077d468fb9354bb51928a;p=mesa.git nv50: enable seamless cube maps on all hw Some of the hardware support is missing. The NVIDIA-provided driver, which claims seamless cube map support fails the relevant tests as well. As this is the last extension before we can have OpenGL 3.2, doing this allows us to expose geometry shaders without doing the additional work involved in supporting ARB_geometry_shader4. Signed-off-by: Ilia Mirkin --- diff --git a/src/gallium/drivers/nouveau/nv50/nv50_screen.c b/src/gallium/drivers/nouveau/nv50/nv50_screen.c index f284306066c..f41327c2ada 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_screen.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_screen.c @@ -110,7 +110,7 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE: return 65536; case PIPE_CAP_SEAMLESS_CUBE_MAP: - return nv50_screen(pscreen)->tesla->oclass >= NVA0_3D_CLASS; + return 1; /* nv50_screen(pscreen)->tesla->oclass >= NVA0_3D_CLASS; */ case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE: return 0; case PIPE_CAP_CUBE_MAP_ARRAY: