Mesa (nvc0): nvc0: respond please inline to PIPE_SHADER_CAP_SUBROUTINES

Christoph Bumiller chrisbmr at kemper.freedesktop.org
Thu Dec 23 14:22:59 UTC 2010


Module: Mesa
Branch: nvc0
Commit: 780fbecc20ee100c2765b24cb6dc9e28ab96a2e0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=780fbecc20ee100c2765b24cb6dc9e28ab96a2e0

Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Thu Dec 23 14:36:20 2010 +0100

nvc0: respond please inline to PIPE_SHADER_CAP_SUBROUTINES

---

 src/gallium/drivers/nvc0/nvc0_screen.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/nvc0/nvc0_screen.c b/src/gallium/drivers/nvc0/nvc0_screen.c
index de2ddb2..4ec73b0 100644
--- a/src/gallium/drivers/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nvc0/nvc0_screen.c
@@ -164,6 +164,8 @@ nvc0_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader,
       return NVC0_CAP_MAX_PROGRAM_TEMPS;
    case PIPE_SHADER_CAP_TGSI_CONT_SUPPORTED:
       return 1;
+   case PIPE_SHADER_CAP_SUBROUTINES:
+      return 0; /* please inline, or provide function declarations */
    default:
       NOUVEAU_ERR("unknown PIPE_SHADER_CAP %d\n", param);
       return 0;




More information about the mesa-commit mailing list