Metal Shading Language Specification



Yüklə 4,82 Kb.
Pdf görüntüsü
səhifə3/51
tarix25.05.2018
ölçüsü4,82 Kb.
#45967
1   2   3   4   5   6   7   8   9   ...   51

5.12  Atomic Functions 
136 
...........................................................................................................
5.12.1   
Memory Order 
137 
..........................................................................................................
5.12.1.1  
Relaxed Ordering  
137 
.....................................................................................................
5.12.1.2 
Release-Acquire Ordering  
138 
.......................................................................................
5.12.1.3 
Sequentially Consistent Ordering  
138 
............................................................................
5.12.2   
Memory Scope 
138 
.........................................................................................................
5.12.3   
Fence Functions  
138 
......................................................................................................
5.12.4  Atomic Functions 
139 
...........................................................................................................
5.12.4.1 
Atomic Store Functions 
140 
............................................................................................
5.12.4.2  Atomic Load Functions 
140 
.............................................................................................
5.12.4.3  Atomic Exchange Functions 
141 
.....................................................................................
5.12.5.3  Atomic Compare and Exchange Functions 
142 
..............................................................
5.12.5.4  Atomic Fetch and Modify Functions 
144 
.........................................................................
5.13  SIMD-group Functions 
145 
...................................................................................................
5.14  Quad-group Functions 
148 
...................................................................................................
5.15  Imageblock Functions 
151 
.....................................................................................................
5.15.1   
Functions for Imageblocks with Implicit Layout 
151 
........................................................
5.15.2   
Functions for Imageblocks with Explicit Layout  
152 
......................................................
5.15.3   
Writing an Imageblock Slice to a Region in a Texture  
154 
..............................................
6  Compiler Options 
158 
....................................................................................
6.1 
Pre-Processor Compiler Options 
158 
...................................................................................
6.2 
Math Intrinsics Compiler Options 
158 
...................................................................................
6.3 
Compiler Options Controlling the Language Version 
159 
.....................................................
6.4 
Compiler Options to Request or Suppress Warnings 
159 
.....................................................
7  Numerical Compliance 
160 
............................................................................
7.1 
INF, NaN, and Denormalized Numbers 
160 
..........................................................................
7.2 
Rounding Mode 
160 
..............................................................................................................
7.3 
Floating-Point Exceptions 
160 
..............................................................................................
7.4 
Relative Error as ULPs 
160 
....................................................................................................
7.5 
Edge Case Behavior in Flush To Zero Mode 
166 
...................................................................
7.6 
Conversion Rules for Floating-Point and Integer Types. 
167 
................................................
7.7 
Texture Addressing and Conversion Rules 
167 
.....................................................................
7.7.1 
 
Conversion Rules for Normalized Integer Pixel Data Types 
167 
......................................
 
2017-9-12   |  Copyright © 2017 Apple Inc. All Rights Reserved.  
Page    of  
6
174


7.7.1.1   
Converting Normalized Integer Pixel Data Types to Floating-Point Values 
167 
..............
7.7.1.2   
Converting Floating-Point Values to Normalized Integer Pixel Data Types 
169 
..............
7.7.2   
Conversion Rules for Half-Precision Floating-Point Pixel Data Type  
170 
.......................
7.7.3   
Conversion Rules for Single-Precision Floating-Point Pixel Data Type 
170 
....................
7.7.4   
Conversion Rules for 11-bit and 10-bit Floating-Point Pixel Data Type 
170 
....................
7.7.5   
Conversion Rules for 9-bit Floating-Point Pixel Data Type with a 5-bit Exponent  171 
....
7.7.6   
Conversion Rules for Signed and Unsigned Integer Pixel Data Types 
171 
......................
7.7.7   
Conversion Rules for sRGBA and sBGRA Textures  
172
..................................................
 
2017-9-12   |  Copyright © 2017 Apple Inc. All Rights Reserved.  
Page    of  
7
174


Yüklə 4,82 Kb.

Dostları ilə paylaş:
1   2   3   4   5   6   7   8   9   ...   51




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə