diff options
Diffstat (limited to 'src/gallium/drivers/svga/svga_screen.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_screen.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c index a1108c62837..93d16124c62 100644 --- a/src/gallium/drivers/svga/svga_screen.c +++ b/src/gallium/drivers/svga/svga_screen.c @@ -334,7 +334,7 @@ static int svga_get_shader_param(struct pipe_screen *screen, unsigned shader, en case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS: return 16; default: - debug_printf("Unexpected vertex shader query %u\n", param); + debug_printf("Unexpected fragment shader query %u\n", param); return 0; } break; @@ -389,7 +389,8 @@ static int svga_get_shader_param(struct pipe_screen *screen, unsigned shader, en } break; case PIPE_SHADER_GEOMETRY: - /* no support for geometry shaders at this time */ + case PIPE_SHADER_COMPUTE: + /* no support for geometry or compute shaders at this time */ return 0; default: debug_printf("Unexpected shader type (%u) query\n", shader); |