From: Christoph Bumiller Date: Tue, 24 Aug 2010 09:21:06 +0000 (+0200) Subject: nv50: handle TEXTURE_SWIZZLE and GEOMETRY_SHADER4 caps X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=db1874272c325e3e19fb7f386ec82f36e7a24496;p=mesa.git nv50: handle TEXTURE_SWIZZLE and GEOMETRY_SHADER4 caps GP support will probably be re-added soon. --- diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c index 78137d69402..fc75d81d549 100644 --- a/src/gallium/drivers/nv50/nv50_screen.c +++ b/src/gallium/drivers/nv50/nv50_screen.c @@ -84,6 +84,8 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 1; case PIPE_CAP_GLSL: return 1; + case PIPE_CAP_GEOMETRY_SHADER4: + return 0; case PIPE_CAP_ANISOTROPIC_FILTER: return 1; case PIPE_CAP_POINT_SPRITE: @@ -105,6 +107,8 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_TEXTURE_MIRROR_CLAMP: case PIPE_CAP_TEXTURE_MIRROR_REPEAT: return 1; + case PIPE_CAP_TEXTURE_SWIZZLE: + return 1; case PIPE_CAP_TGSI_CONT_SUPPORTED: return 1; case PIPE_CAP_BLEND_EQUATION_SEPARATE: