mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 16:50:10 +01:00
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 <airlied@redhat.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7069>
This commit is contained in:
parent
43a42b6e1d
commit
f6c46e8408
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue