nvc0: respond please inline to PIPE_SHADER_CAP_SUBROUTINES
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Thu, 23 Dec 2010 13:36:20 +0000 (14:36 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Thu, 23 Dec 2010 14:22:00 +0000 (15:22 +0100)
src/gallium/drivers/nvc0/nvc0_screen.c

index de2ddb2fff8a91dd7bf926e4a5e7cf1d64c15044..4ec73b07aaf2f9d5b0b01c68abb8d111a5911061 100644 (file)
@@ -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;