or (sm4 - asm)
Bitwise or.
or dest[.mask], src0[.swizzle], src1[.swizzle] |
---|
Item | Description |
---|---|
dest |
[in] The result of the operation. |
src0 |
[in] The components to OR with src1. |
src1 |
[in] The components to OR with src0. |
Remarks
This instruction performs a component-wise logical OR of each pair of 32-bit values from src0 and src1. The 32-bit results are placed in dest.
This instruction applies to the following shader stages:
Vertex Shader | Geometry Shader | Pixel Shader |
---|---|---|
x | x | x |
Minimum Shader Model
This function is supported in the following shader models.
Shader Model | Supported |
---|---|
Shader Model 5 | yes |
Shader Model 4.1 | yes |
Shader Model 4 | yes |
Shader Model 3 (DirectX HLSL) | no |
Shader Model 2 (DirectX HLSL) | no |
Shader Model 1 (DirectX HLSL) | no |