Module: Mesa Branch: 8.0 Commit: 8d40c2f5e21a25a85708a40284350c43727fd0d8 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d40c2f5e21a25a85708a40284350c43727fd0d8
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. (cherry picked from commit 3b8fe06eb629f887071d5fbe2bc50b7a0c516a25) --- 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 763321b..f28b0be 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -212,6 +212,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
