Commit 7669ac7
authored
Fix image conversion rules for signed and unsigned image channel data types (KhronosGroup#1348)
The returned values are always 32-bit integers. Pixel values are
sign- or zero-extended to 32 bits when the data type is smaller
than 32-bit.
Also fix a typo in the description of single precision FP values
to normalized integer values (the description erroneously referred
to half precision floating point).
Change-Id: Idaa61a77949530e18442df680175de04347af9fa
Signed-off-by: Kevin Petit <kevin.petit@arm.com>1 parent 10d8f8f commit 7669ac7
2 files changed
Lines changed: 15 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17390 | 17390 | | |
17391 | 17391 | | |
17392 | 17392 | | |
17393 | | - | |
17394 | | - | |
| 17393 | + | |
| 17394 | + | |
| 17395 | + | |
17395 | 17396 | | |
17396 | 17397 | | |
17397 | | - | |
17398 | | - | |
| 17398 | + | |
| 17399 | + | |
| 17400 | + | |
17399 | 17401 | | |
17400 | 17402 | | |
17401 | 17403 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
654 | | - | |
| 654 | + | |
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
| |||
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
787 | | - | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
788 | 791 | | |
789 | | - | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
790 | 796 | | |
791 | 797 | | |
792 | 798 | | |
| |||
0 commit comments