From 278b832b785c0a76a6a367ce2f8807923c740208 Mon Sep 17 00:00:00 2001 From: David Heidelberger Date: Mon, 11 Jul 2011 21:50:24 +0200 Subject: [PATCH] nvfx: handle PIPE_CAP_SM3 Signed-off-by: David Heidelberger --- src/gallium/drivers/nvfx/nvfx_screen.c | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.30.2