Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Reverse a 32-bit number.
| bfrev dest[.mask], src0[.swizzle] |
|---|
| Item | Description |
|---|---|
| dest |
[in] The address for src0 with bits reversed. |
| src0 |
[in] The 32-bit number to reverse. |
Remarks
For example, given 0x12345678 the result would be 0x1e6a2c48.
This instruction applies to the following shader stages:
| Vertex | Hull | Domain | Geometry | Pixel | Compute |
|---|---|---|---|---|---|
| X | X | X | X | X | X |
Minimum Shader Model
This instruction is supported in the following shader models:
| Shader Model | Supported |
|---|---|
| Shader Model 5 | yes |
| Shader Model 4.1 | no |
| Shader Model 4 | no |
| Shader Model 3 (DirectX HLSL) | no |
| Shader Model 2 (DirectX HLSL) | no |
| Shader Model 1 (DirectX HLSL) | no |