Skip to content

Commit 7ac5f4b

Browse files
authored
explicitly say that OpTypeSampledImage may be used in an OpenCL environment (#543)
1 parent 1b2c768 commit 7ac5f4b

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

env/common_properties.asciidoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ OpenCL environments:
163163
// sampler_t
164164
*OpTypeSampler* may be used to declare sampler types in OpenCL environments.
165165

166+
// This cannot be passed to a kernel or expressed directly in OpenCL C but
167+
// should be mentioned explicitly, see internal issue 273:
168+
*OpTypeSampledImage* may be used to declare combined image and sampler types in OpenCL environments.
169+
166170
==== Other Data Types
167171

168172
The following table describes other data types that may be used in an

env/validation_rules.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ For all *Atomic Instructions*:
4444
* Only 32-bit integer types are supported for the _Result Type_ and/or
4545
type of _Value_.
4646
* The _Pointer_ operand must be a pointer to the *Function*, *Workgroup*,
47-
or *CrossWorkGroup* _Storage Classes_. Note that an *Atomic Instruction*
47+
or *CrossWorkgroup* _Storage Classes_. Note that an *Atomic Instruction*
4848
on a pointer to the *Function* _Storage Class_ is valid, but does not
4949
have defined behavior.
5050

0 commit comments

Comments
 (0)