ushr (sm5 - asm)

Shift right.

ubfe dest[.mask], src0[.swizzle], src1[.swizzle]

 

ItemDescription

dest

[in] Contains the results of the instruction.

src0

[in] The 32-bit values to shift.

src1

[in] The LSB 5 bits provide the number of bits to shift (0-31).

 

This instruction performs a component-wise shift of each 32-bit value in src0 right by an unsigned integer bit count provided by the LSB 5 bits (0-31 range) in src1, inserting 0. The 32-bit per component results is placed in dest.

This instruction applies to the following shader stages:

VertexHullDomainGeometryPixelCompute
XX X XXX

 

Minimum Shader Model

This instruction is supported in the following shader models:

Shader ModelSupported
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

 

 

 

Community Additions

ADD
Show:
© 2014 Microsoft