summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvc0/nvc0_screen.c
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2010-12-23 14:36:20 +0100
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>2010-12-23 15:22:00 +0100
commit780fbecc20ee100c2765b24cb6dc9e28ab96a2e0 (patch)
tree67180ebd9e7a447a546375cd75e83f5a9e80867a /src/gallium/drivers/nvc0/nvc0_screen.c
parent96def0c3147ac7b9449de00bf1306dfd1ca436fb (diff)
nvc0: respond please inline to PIPE_SHADER_CAP_SUBROUTINES
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_screen.c')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_screen.c2
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 de2ddb2fff..4ec73b07aa 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;