Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion d3d/HLSL_SM_6_6_Pack_Unpack_Intrinsics.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ These new packed datatypes are front end constructs to aid in the proper use of
The new datatypes and assosiated intrinsics are a required feature for SM6.6.

## Unpack Intrinsics
A set of unpack intrinsics are being added to unpack 4 signed or unsigned 8-bit values into a vector of 16 bit values or a 32 bit values. The 32 bit vector will not require the 16 bit native support.
A set of unpack intrinsics are being added to unpack 4 signed or unsigned 8-bit values into a vector of 16 bit values or a 32 bit values. The packing order is from x component packed to the least significant byte to w component packed to the most significant byte. The 32 bit vector will not require the 16 bit native support.

```C++
int16_t4 unpack_s8s16(int8_t4_packed packedVal); // Sign Extended
Expand Down