diff options
author | David Heidelberger <[email protected]> | 2011-07-11 21:50:24 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-07-11 21:52:24 +0200 |
commit | 278b832b785c0a76a6a367ce2f8807923c740208 (patch) | |
tree | f97e301ae275f1d069cbd5fa8764d37356c47451 /src/gallium/drivers/nvfx | |
parent | e4189f2e2e310276136dc06af20062986920e8e2 (diff) |
nvfx: handle PIPE_CAP_SM3
Signed-off-by: David Heidelberger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nvfx')
-rw-r--r-- | src/gallium/drivers/nvfx/nvfx_screen.c | 3 |
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: |