svga: add switch case for PIPE_SHADER_CAP_MAX_UNROLL_ITERATIONS_HINT
authorBrian Paul <brianp@vmware.com>
Wed, 21 Oct 2015 00:22:43 +0000 (18:22 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 21 Oct 2015 01:14:51 +0000 (19:14 -0600)
A third instance of this was needed but missed in the previous commit.
Return 32 as for the two other cases.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_screen.c

index 17b042e7d953e94c795a35d87b1bbbe6458b5169..f6fafca5c0b2a24ef9d07134486aa24123f8f054 100644 (file)
@@ -605,6 +605,8 @@ vgpu10_get_shader_param(struct pipe_screen *screen, unsigned shader,
    case PIPE_SHADER_CAP_TGSI_FMA_SUPPORTED:
    case PIPE_SHADER_CAP_TGSI_ANY_INOUT_DECL_RANGE:
       return 0;
+   case PIPE_SHADER_CAP_MAX_UNROLL_ITERATIONS_HINT:
+      return 32;
    default:
       debug_printf("Unexpected vgpu10 shader query %u\n", param);
       return 0;