summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2012-01-29 13:24:11 +0100
committerChristoph Bumiller <[email protected]>2012-01-29 13:24:11 +0100
commit672ad90f54539ed38a5d03b47b58ec17f250b63d (patch)
tree9c9bf6c44141a936f3451734c03e8fc0bd19aacf /src/gallium/drivers/nvfx
parent10c85526a23ab6c01a67562a885597ad65883be6 (diff)
nvfx,nv50,nvc0: handle PIPE_CAP_GLSL_FEATURE_LEVEL
Diffstat (limited to 'src/gallium/drivers/nvfx')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_screen.c b/src/gallium/drivers/nvfx/nvfx_screen.c
index 2a3289f04fd..623903ab756 100644
--- a/src/gallium/drivers/nvfx/nvfx_screen.c
+++ b/src/gallium/drivers/nvfx/nvfx_screen.c
@@ -34,6 +34,8 @@ nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_SM3:
/* TODO: >= nv4x support Shader Model 3.0 */
return 0;
+ case PIPE_CAP_GLSL_FEATURE_LEVEL:
+ return 120;
case PIPE_CAP_ANISOTROPIC_FILTER:
return 1;
case PIPE_CAP_POINT_SPRITE: