Module: Mesa Branch: master Commit: 3b8fe06eb629f887071d5fbe2bc50b7a0c516a25 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b8fe06eb629f887071d5fbe2bc50b7a0c516a25
Author: Marek Olšák <[email protected]> Date: Tue Apr 3 23:00:18 2012 +0200 r300g/swtcl: don't expose shader subroutine support RET in the main function doesn't work. This should be fixed in Draw, but meh. --- src/gallium/drivers/r300/r300_screen.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 1a8e789..5873d9a 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:; } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
