diff options
author | Mike Blumenkrantz <michael.blumenkrantz@gmail.com> | 2020-08-12 17:03:15 -0400 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-02-10 00:19:39 +0000 |
commit | 7909c642b167b3ab214f0ae4de1d1cfaa4a88c32 (patch) | |
tree | 9779fe8247b85ca2827b0fe9b01911baa87ce26b | |
parent | c5cf5ad6f09469991f7447a3684f91f4abe1b287 (diff) |
zink: enable compute
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8781>
-rw-r--r-- | docs/features.txt | 2 | ||||
-rw-r--r-- | src/gallium/drivers/zink/zink_screen.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/docs/features.txt b/docs/features.txt index 50d5bd9c176..ebc4bedb909 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -171,7 +171,7 @@ GL 4.3, GLSL 4.30 -- all DONE: i965/gen8+, nvc0, r600, radeonsi, llvmpipe, virgl GL_ARB_arrays_of_arrays DONE (all drivers that support GLSL 1.30) GL_ARB_ES3_compatibility DONE (all drivers that support GLSL 3.30) GL_ARB_clear_buffer_object DONE (all drivers) - GL_ARB_compute_shader DONE (freedreno/a5xx+, i965, softpipe, v3d, panfrost) + GL_ARB_compute_shader DONE (freedreno/a5xx+, i965, softpipe, v3d, panfrost, zink) GL_ARB_copy_image DONE (i965, nv50, softpipe, swr, zink) GL_KHR_debug DONE (all drivers) GL_ARB_explicit_uniform_location DONE (all drivers that support GLSL) diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c index b1bc15ccb48..7ae9e4e285d 100644 --- a/src/gallium/drivers/zink/zink_screen.c +++ b/src/gallium/drivers/zink/zink_screen.c @@ -271,10 +271,8 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_GLSL_FEATURE_LEVEL: return 420; -#if 0 /* TODO: Enable me */ case PIPE_CAP_COMPUTE: return 1; -#endif case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT: return screen->info.props.limits.minUniformBufferOffsetAlignment; |