summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Heidelberger <[email protected]>2011-07-11 21:50:24 +0200
committerChristoph Bumiller <[email protected]>2011-07-11 21:52:24 +0200
commit278b832b785c0a76a6a367ce2f8807923c740208 (patch)
treef97e301ae275f1d069cbd5fa8764d37356c47451
parente4189f2e2e310276136dc06af20062986920e8e2 (diff)
nvfx: handle PIPE_CAP_SM3
Signed-off-by: David Heidelberger <[email protected]>
-rw-r--r--src/gallium/drivers/nvfx/nvfx_screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_screen.c b/src/gallium/drivers/nvfx/nvfx_screen.c
index 7a013a916b9..8569b5a190b 100644
--- a/src/gallium/drivers/nvfx/nvfx_screen.c
+++ b/src/gallium/drivers/nvfx/nvfx_screen.c
@@ -33,6 +33,9 @@ nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
return 1;
case PIPE_CAP_GLSL:
return 1;
+ case PIPE_CAP_SM3:
+ /* TODO: >= nv4x support Shader Model 3.0 */
+ return 0;
case PIPE_CAP_ANISOTROPIC_FILTER:
return 1;
case PIPE_CAP_POINT_SPRITE: