Sfoglia il codice sorgente

[spirv] Fix doc about half translation (#1539)

Lei Zhang 7 anni fa
parent
commit
d0fcff32fd
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      docs/SPIR-V.rst

+ 3 - 3
docs/SPIR-V.rst

@@ -566,9 +566,9 @@ type instructions:
 ============================== ======================= ================== =========== =================================
 
 Please note that ``half`` is translated into 32-bit floating point numbers
-right now because MSDN says that "this data type is provided only for language
-compatibility. Direct3D 10 shader targets map all ``half`` data types to
-``float`` data types."
+if without ``-enable-16bit-types`` because MSDN says that "this data type
+is provided only for language compatibility. Direct3D 10 shader targets map
+all ``half`` data types to ``float`` data types."
 
 Minimal precision scalar types
 ------------------------------