diff options
author | Marek Olšák <[email protected]> | 2018-09-06 00:09:27 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-09-06 16:07:40 -0400 |
commit | 1285f71d3e93f200cec0c321bb6e621d4aece7b3 (patch) | |
tree | e2a355e483371f965be1695cf5e524cec4032966 /src/gallium/auxiliary/util/u_screen.c | |
parent | 3824c8e7cda97c3bf856983ea5fb6d696c75fb24 (diff) |
gallium: add PIPE_CAP_RASTERIZER_SUBPIXEL_BITS
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_screen.c')
-rw-r--r-- | src/gallium/auxiliary/util/u_screen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_screen.c b/src/gallium/auxiliary/util/u_screen.c index c41e28820b2..f0290d04cc5 100644 --- a/src/gallium/auxiliary/util/u_screen.c +++ b/src/gallium/auxiliary/util/u_screen.c @@ -254,6 +254,9 @@ u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen, case PIPE_CAP_NATIVE_FENCE_FD: return 0; + case PIPE_CAP_RASTERIZER_SUBPIXEL_BITS: + return 4; /* GLES 2.0 minimum value */ + case PIPE_CAP_GLSL_OPTIMIZE_CONSERVATIVELY: return 1; |