From: Marek Olšák Date: Tue, 3 Apr 2012 21:00:18 +0000 (+0200) Subject: r300g/swtcl: don't expose shader subroutine support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b8fe06eb629f887071d5fbe2bc50b7a0c516a25;p=mesa.git r300g/swtcl: don't expose shader subroutine support RET in the main function doesn't work. This should be fixed in Draw, but meh. --- diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 1a8e789fdc3..5873d9a7872 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -217,6 +217,7 @@ static int r300_get_shader_param(struct pipe_screen *pscreen, unsigned shader, e switch (param) { case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS: + case PIPE_SHADER_CAP_SUBROUTINES: return 0; default:; }