diff options
author | Marek Olšák <[email protected]> | 2018-01-27 01:52:08 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-02-17 04:20:55 +0100 |
commit | 8e7222f4e5d624313bf972637d22b49fc7200383 (patch) | |
tree | 5c83d524eefcd1384d4636505a9e4782bd1dee65 /src/gallium/drivers/vc5 | |
parent | 834d221512fae8dd290d347fec071c4adbe140ed (diff) |
gallium: allow drivers to impose BO flags restrictions on constant buffer 0
Required by radeonsi for optimal behavior.
Diffstat (limited to 'src/gallium/drivers/vc5')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc5/vc5_screen.c b/src/gallium/drivers/vc5/vc5_screen.c index 66f4dd9cf94..47727d0adad 100644 --- a/src/gallium/drivers/vc5/vc5_screen.c +++ b/src/gallium/drivers/vc5/vc5_screen.c @@ -259,6 +259,7 @@ vc5_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_STREAM_OUTPUT_INTERLEAVE_BUFFERS: case PIPE_CAP_MAX_COMBINED_SHADER_OUTPUT_RESOURCES: case PIPE_CAP_CONTEXT_PRIORITY_MASK: + case PIPE_CAP_CONSTBUF0_FLAGS: return 0; /* Geometry shader output, unsupported. */ |