From f6c46e8408ba0d3a14da113b8db679616f22b04b Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Thu, 15 Oct 2020 16:31:10 +0200 Subject: [PATCH] clover/device: use PIPE_MAX_SHADER_SAMPLER_VIEWS for max_images_read Read images are really just normal textures and OpenCL requires 128 anyway. Reviewed-by: Dave Airlie Reviewed-by: Francisco Jerez Part-of: --- src/gallium/frontends/clover/core/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/frontends/clover/core/device.cpp b/src/gallium/frontends/clover/core/device.cpp index 7d3b0d61a2a..6f46222dbdc 100644 --- a/src/gallium/frontends/clover/core/device.cpp +++ b/src/gallium/frontends/clover/core/device.cpp @@ -109,7 +109,7 @@ device::vendor_id() const { size_t device::max_images_read() const { - return PIPE_MAX_SHADER_IMAGES; + return PIPE_MAX_SHADER_SAMPLER_VIEWS; } size_t