From 672ad90f54539ed38a5d03b47b58ec17f250b63d Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Sun, 29 Jan 2012 13:24:11 +0100 Subject: nvfx,nv50,nvc0: handle PIPE_CAP_GLSL_FEATURE_LEVEL --- src/gallium/drivers/nv50/nv50_screen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/nv50/nv50_screen.c') diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c index 536e06471b6..904f39a358d 100644 --- a/src/gallium/drivers/nv50/nv50_screen.c +++ b/src/gallium/drivers/nv50/nv50_screen.c @@ -110,6 +110,8 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 1; case PIPE_CAP_SM3: return 1; + case PIPE_CAP_GLSL_FEATURE_LEVEL: + return 120; case PIPE_CAP_MAX_RENDER_TARGETS: return 8; case PIPE_CAP_FRAGMENT_COLOR_CLAMPED: -- cgit v1.2.3