Add 'floateleven' buffer format for R11G11B10 packed data, fix unpacking

This commit is contained in:
baldurk
2017-03-20 13:02:20 +00:00
parent 8badc43028
commit d2d86b5726
9 changed files with 150 additions and 38 deletions
+1
View File
@@ -103,6 +103,7 @@ There are also some non-hlsl types for displaying other formats which don't have
* ``snormf`` - 32bit signed normalised value
* ``uintten`` - 4 component unsigned integer format, packed as 10:10:10:2
* ``unormten`` - 4 component unsigned normalised format, packed as 10:10:10:2
* ``floateleven`` - 3 component floating point format, packed as 11:11:10
* ``xuint`` - hex-formatted 32bit integer
* ``xshort`` - hex-formatted 16bit integer
* ``xbyte`` - hex-formatted 8bit integer