Skip to content

Commit 81e4448

Browse files
authored
allow optional image operands for image write instructions (#1451)
1 parent fadb84c commit 81e4448

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

env/validation_rules.asciidoc

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,9 @@ For all *OpTypeImage* type-declaration instructions:
3232
* _Image Format_ must be *Unknown*, indicating that the image does not
3333
have a specified format.
3434
* The optional image _Access Qualifier_ must be present.
35-
36-
The image write instruction *OpImageWrite* must not include any optional
37-
_Image Operands_.
3835

39-
The image read instructions *OpImageRead* and *OpImageSampleExplicitLod*
40-
must not include the optional _Image Operand_ *ConstOffset*.
36+
For all image read and write instructions, if an optional _Image Operand_ is
37+
present, then it must not include *ConstOffset*.
4138

4239
For all *Atomic Instructions*:
4340

0 commit comments

Comments
 (0)