From: David Heidelberger Date: Mon, 11 Jul 2011 19:50:24 +0000 (+0200) Subject: nvfx: handle PIPE_CAP_SM3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=278b832b785c0a76a6a367ce2f8807923c740208;p=mesa.git nvfx: handle PIPE_CAP_SM3 Signed-off-by: David Heidelberger --- 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: