diff options
author | Marek Olšák <[email protected]> | 2018-02-15 01:32:08 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-05-29 20:13:24 -0400 |
commit | 34ea55d8201b9bfd31dd432f45b5423861f8ad0b (patch) | |
tree | ed75bc037921d93cb9a1f46d319638ce605c082e /src/gallium/drivers/swr | |
parent | e453fc76e7d38df44aa27fed7df011df76b1d03a (diff) |
gallium: add PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr')
-rw-r--r-- | src/gallium/drivers/swr/swr_screen.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp index 738792bf08b..091d322d38c 100644 --- a/src/gallium/drivers/swr/swr_screen.cpp +++ b/src/gallium/drivers/swr/swr_screen.cpp @@ -183,6 +183,8 @@ swr_get_param(struct pipe_screen *screen, enum pipe_cap param) return 7; case PIPE_CAP_GLSL_FEATURE_LEVEL: return 330; + case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY: + return 140; case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT: return 16; case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT: |