diff options
author | Icecream95 <[email protected]> | 2020-07-17 22:15:42 +1200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-07-17 15:05:21 +0000 |
commit | 01147481f906289c05391186db97306b5a807a0b (patch) | |
tree | 0397a2ade4d0c4a86e4ec1b3c12d81b84f0a1a66 /src | |
parent | 4e986568b8bda39da6cc843a2f0d16d432e17ce3 (diff) |
panfrost: Report TEXTURE_BUFFER_OBJECTS cap when gl3 flag set
OpenGL 3.3 is now reported again when PAN_MESA_DEBUG=gl3 is set.
Fixes: 96fa8d70bc1 ("panfrost: Report CAPs more honestly")
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5947>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 125f84d85c4..cd9b41d1d74 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -181,11 +181,11 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_IMAGE_LOAD_FORMATTED: case PIPE_CAP_CUBE_MAP_ARRAY: case PIPE_CAP_COMPUTE: - case PIPE_CAP_TEXTURE_BUFFER_OBJECTS: return is_deqp; case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE: return is_deqp ? 65536 : 0; + case PIPE_CAP_TEXTURE_BUFFER_OBJECTS: case PIPE_CAP_QUERY_TIMESTAMP: case PIPE_CAP_CONDITIONAL_RENDER: return is_gl3; |