Mesa (master): nouveau/nvfx: Add more unsupported PIPE_CAP values

Patrice Mandin pmandin at kemper.freedesktop.org
Tue Dec 6 12:43:25 PST 2011


Module: Mesa
Branch: master
Commit: 941989483543bc6d24c2df166362f6b6fb4a4062
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=941989483543bc6d24c2df166362f6b6fb4a4062

Author: Patrice Mandin <patmandin at gmail.com>
Date:   Tue Dec  6 21:42:31 2011 +0100

nouveau/nvfx: Add more unsupported PIPE_CAP values

Signed-off-by: Patrice Mandin <patmandin at gmail.com>

---

 src/gallium/drivers/nvfx/nvfx_screen.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/nvfx/nvfx_screen.c b/src/gallium/drivers/nvfx/nvfx_screen.c
index f56c697..ac03199 100644
--- a/src/gallium/drivers/nvfx/nvfx_screen.c
+++ b/src/gallium/drivers/nvfx/nvfx_screen.c
@@ -84,7 +84,11 @@ nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
 	case PIPE_CAP_SEAMLESS_CUBE_MAP:
 	case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE:
 	case PIPE_CAP_SHADER_STENCIL_EXPORT:
-		return 0;
+	case PIPE_CAP_MIN_TEXEL_OFFSET:
+	case PIPE_CAP_MAX_TEXEL_OFFSET:
+	case PIPE_CAP_CONDITIONAL_RENDER:
+	case PIPE_CAP_TEXTURE_BARRIER:
+                return 0;
 	case PIPE_CAP_MIXED_COLORBUFFER_FORMATS:
                 return 0;
 	default:



More information about the mesa-commit mailing list