diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-07-01 08:16:02 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-07-01 08:16:02 +0000 |
commit | 8299dd14c674896e0a62932905dc20f3a24a0093 (patch) | |
tree | 51802dd900e6e1299b6e695ae8406f7a50bae6cd | |
parent | c6fe232a4a5207bba99df4541dce677030d3b078 (diff) |
Import Mesa 19.0.8
-rw-r--r-- | lib/mesa/src/gallium/auxiliary/util/u_screen.c | 3 | ||||
-rw-r--r-- | lib/mesa/src/gallium/auxiliary/util/u_screen.h | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/lib/mesa/src/gallium/auxiliary/util/u_screen.c b/lib/mesa/src/gallium/auxiliary/util/u_screen.c index 464d9dddc..66c17f170 100644 --- a/lib/mesa/src/gallium/auxiliary/util/u_screen.c +++ b/lib/mesa/src/gallium/auxiliary/util/u_screen.c @@ -337,6 +337,9 @@ u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen, case PIPE_CAP_DEST_SURFACE_SRGB_CONTROL: return 1; + case PIPE_CAP_MAX_VARYINGS: + return 8; + default: unreachable("bad PIPE_CAP_*"); } diff --git a/lib/mesa/src/gallium/auxiliary/util/u_screen.h b/lib/mesa/src/gallium/auxiliary/util/u_screen.h index 65afb277e..3952a11f2 100644 --- a/lib/mesa/src/gallium/auxiliary/util/u_screen.h +++ b/lib/mesa/src/gallium/auxiliary/util/u_screen.h @@ -24,6 +24,14 @@ struct pipe_screen; enum pipe_cap; +#ifdef __cplusplus +extern "C" { +#endif + int u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen, enum pipe_cap param); + +#ifdef __cplusplus +}; +#endif |