diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-01-15 11:20:02 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-01-15 11:20:02 +0000 |
commit | cce1c2eb0e87e84be6345c870d3334f748bdc5bb (patch) | |
tree | 0f7634b7a70e9e4ea5f292bae340f34d9e7da1a7 /llvm/tools/llvm-objdump | |
parent | 4094f34f78d2826d672c13b58929ce90171f9c8d (diff) | |
download | bcm5719-llvm-cce1c2eb0e87e84be6345c870d3334f748bdc5bb.tar.gz bcm5719-llvm-cce1c2eb0e87e84be6345c870d3334f748bdc5bb.zip |
[OpenCL] opencl-c.h: read_image*(): sampler-less, and image{1,2}d_array_t variants are OpenCL-1.2+, mark them as such
Summary:
Refer to [[ https://www.khronos.org/registry/OpenCL/specs/opencl-1.1.pdf#page=242 | `6.11.13.2 Built-in Image Functions` ]],
and [[ https://www.khronos.org/registry/OpenCL/specs/opencl-1.1.pdf#page=306 | `9.6.8 Image Read and Write Functions` ]] of the OpenCL 1.1 spec.
* There is no mention of `image1d_array_t` and `image2d_array_t` anywhere in the OpenCL 1.1 spec.
* All the `read_image{f,i,ui,h}()` functions, as of OpenCL 1.1 spec, have a second required parameter `sampler_t sampler`
Should have prevented the following regression:
https://redmine.darktable.org/issues/12493
Reviewers: yaxunl, Anastasia, echuraev, asavonic
Reviewed By: Anastasia
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D56646
llvm-svn: 351188
Diffstat (limited to 'llvm/tools/llvm-objdump')
0 files changed, 0 insertions, 0 deletions