commit | 874371876e2faecf62e057016f35660dd6d8761c | [log] [tgz] |
---|---|---|
author | Karol Herbst <kherbst@redhat.com> | Thu Oct 08 13:18:07 2020 +0200 |
committer | Karol Herbst <kherbst@redhat.com> | Tue Oct 20 23:46:43 2020 +0200 |
tree | 195657b9834be454644ba568f8601d12f4fc4b8b | |
parent | ee035c75d42606a18ad54bd45ae1a751c421c98a [diff] |
nvc0/CL: enable images Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7069>
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index 814a42d..635b8a8 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -622,7 +622,7 @@ case PIPE_COMPUTE_CAP_MAX_MEM_ALLOC_SIZE: RET((uint64_t []) { 1ULL << 40 }); case PIPE_COMPUTE_CAP_IMAGES_SUPPORTED: - RET((uint32_t []) { 0 }); + RET((uint32_t []) { NVC0_MAX_IMAGES }); case PIPE_COMPUTE_CAP_MAX_COMPUTE_UNITS: RET((uint32_t []) { screen->mp_count_compute }); case PIPE_COMPUTE_CAP_MAX_CLOCK_FREQUENCY: