Mesa (master): nvfx: don't claim we support preds since the driver doesn't

Luca Barbieri lb at kemper.freedesktop.org
Sat Sep 4 02:06:27 UTC 2010


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

Author: Luca Barbieri <luca at luca-barbieri.com>
Date:   Sat Sep  4 03:40:49 2010 +0200

nvfx: don't claim we support preds since the driver doesn't

---

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

diff --git a/src/gallium/drivers/nvfx/nvfx_screen.c b/src/gallium/drivers/nvfx/nvfx_screen.c
index 9e7266b..e01b2a6 100644
--- a/src/gallium/drivers/nvfx/nvfx_screen.c
+++ b/src/gallium/drivers/nvfx/nvfx_screen.c
@@ -95,7 +95,7 @@ nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
 	case PIPE_CAP_MAX_FS_ADDRS:
 		return screen->is_nv4x ? 1 : 0;
 	case PIPE_CAP_MAX_FS_PREDS:
-		return screen->is_nv4x ? 1 : 0;
+		return 0; /* we could expose these, but nothing uses them */
 	case PIPE_CAP_MAX_VS_INSTRUCTIONS:
 	case PIPE_CAP_MAX_VS_ALU_INSTRUCTIONS:
 		return screen->is_nv4x ? 512 : 256;
@@ -117,7 +117,7 @@ nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
 	case PIPE_CAP_MAX_VS_ADDRS:
 		return 2;
 	case PIPE_CAP_MAX_VS_PREDS:
-		return screen->is_nv4x ? 1 : 0;
+		return 0; /* we could expose these, but nothing uses them */
 	case PIPE_CAP_GEOMETRY_SHADER4:
 		return 0;
 	case PIPE_CAP_DEPTH_CLAMP:




More information about the mesa-commit mailing list