diff options
author | Brian Paul <[email protected]> | 2015-10-20 18:22:43 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-10-20 19:14:51 -0600 |
commit | f1682fdafa54bb2e710707c441ed652358e57502 (patch) | |
tree | a167bfaa4a209cbbac3e042cdcaf6d1d4f354954 /src/gallium/drivers/svga | |
parent | b48e16fa2f8b96bb36a6e0a92b6d842c1c246006 (diff) |
svga: add switch case for PIPE_SHADER_CAP_MAX_UNROLL_ITERATIONS_HINT
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 <[email protected]>
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r-- | src/gallium/drivers/svga/svga_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c index 17b042e7d95..f6fafca5c0b 100644 --- a/src/gallium/drivers/svga/svga_screen.c +++ b/src/gallium/drivers/svga/svga_screen.c @@ -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; |