All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH mesa/nvfx] fill PIPE_CAP_PRIMITIVE_RESTART and PIPE_CAP_SHADER_STENCIL_EXPORT
@ 2010-11-10 22:10 Lucas Stach
  2010-11-11 14:00 ` Francisco Jerez
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2010-11-10 22:10 UTC (permalink / raw)
  To: Nouveau Dev List

[-- Attachment #1: Type: text/plain, Size: 92 bytes --]

Attached a trivial fix for mesa/nvfx to shut up warnings about unknown
pipe caps.

-- Lucas

[-- Attachment #2: 0001-nvfx-fill-PIPE_CAP_PRIMITIVE_RESTART-and-PIPE_CAP_SH.patch --]
[-- Type: text/x-patch, Size: 1066 bytes --]

From da05bfedcf0e26c454fe227b33f20875666fdda6 Mon Sep 17 00:00:00 2001
From: Lucas Stach <dev-8ppwABl0HbeELgA04lAiVw@public.gmane.org>
Date: Wed, 10 Nov 2010 23:03:03 +0100
Subject: [PATCH] nvfx: fill PIPE_CAP_PRIMITIVE_RESTART and PIPE_CAP_SHADER_STENCIL_EXPORT


Signed-off-by: Lucas Stach <dev-8ppwABl0HbeELgA04lAiVw@public.gmane.org>
---
 src/gallium/drivers/nvfx/nvfx_screen.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/nvfx/nvfx_screen.c b/src/gallium/drivers/nvfx/nvfx_screen.c
index 8024800..3949cda 100644
--- a/src/gallium/drivers/nvfx/nvfx_screen.c
+++ b/src/gallium/drivers/nvfx/nvfx_screen.c
@@ -77,6 +77,10 @@ nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
 		return 1;
 	case PIPE_CAP_DEPTH_CLAMP:
 		return 0; // TODO: implement depth clamp
+	case PIPE_CAP_PRIMITIVE_RESTART:
+		return 0; // TODO: implement primitive restart
+	case PIPE_CAP_SHADER_STENCIL_EXPORT:
+		return 0;
 	default:
 		NOUVEAU_ERR("Warning: unknown PIPE_CAP %d\n", param);
 		return 0;
-- 
1.7.2.3


[-- Attachment #3: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-11 14:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-10 22:10 [PATCH mesa/nvfx] fill PIPE_CAP_PRIMITIVE_RESTART and PIPE_CAP_SHADER_STENCIL_EXPORT Lucas Stach
2010-11-11 14:00 ` Francisco Jerez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.