aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/clover
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-07-05 14:34:13 +0200
committerMarek Olšák <[email protected]>2015-07-16 16:52:17 +0200
commitb73bec0ecd43861337daf9663e242d2b44f36dbd (patch)
tree4d618eef5e8fdc446b590541d15c8cd712a5631a /src/gallium/state_trackers/clover
parentf9f79d29ce75c681c46bdbac5aa3f19ee1adb93b (diff)
gallium: add new limits for shader buffers and images
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/clover')
-rw-r--r--src/gallium/state_trackers/clover/core/device.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/clover/core/device.cpp b/src/gallium/state_trackers/clover/core/device.cpp
index c42d1d26004..6efff79c7f4 100644
--- a/src/gallium/state_trackers/clover/core/device.cpp
+++ b/src/gallium/state_trackers/clover/core/device.cpp
@@ -89,12 +89,12 @@ device::vendor_id() const {
size_t
device::max_images_read() const {
- return PIPE_MAX_SHADER_RESOURCES;
+ return PIPE_MAX_SHADER_IMAGES;
}
size_t
device::max_images_write() const {
- return PIPE_MAX_SHADER_RESOURCES;
+ return PIPE_MAX_SHADER_IMAGES;
}
cl_uint