Shader Model 5 Assembly
This section describes the instructions supported by Shader Model 5.
Instruction Modifiers
add
and
atomic_and
atomic_cmp_store
atomic_iadd
atomic_imax
atomic_imin
atomic_or
atomic_umax
atomic_umin
atomic_xor
bfi
bfrev
break
breakc
bufinfo
call
callc
case
continue
continuec
countbits
cut
cut_stream
dadd
dcl_constantBuffer
dcl_function_body
dcl_function_table
dcl_globalFlags
dcl_hs_fork_phase_instance_count
dcl_hs_join_phase_instance_count
dcl_hs_max_tessfactor
dcl_immediateConstantBuffer
dcl_indexableTemp
dcl_indexRange
dcl_input
dcl_input vForkInstanceID
dcl_input vGSInstanceID
dcl_input vJoinInstanceID
dcl_input vOutputControlPointID
dcl_input vPrim
dcl_input vThread
dcl_input_control_point_count
dcl_input_sv
dcl_inputPrimitive
dcl_interface
dcl_interface_dynamicindexed
dcl_maxOutputVertexCount
dcl_output
dcl_output oDepth
dcl_output oMask
dcl_output_control_point_count
dcl_output_sgv
dcl_output_siv
dcl_outputTopology
dcl_resource
dcl_resource raw
dcl_resource structured
dcl_sampler
dcl_stream
dcl_temps
dcl_tessellator_domain
dcl_tessellator_output_primitive
dcl_tessellator_partitioning
dcl_tgsm_raw
dcl_tgsm_structured
dcl_thread_group
dcl_uav_raw
dcl_uav_structured
dcl_uav_typed
ddiv
default
deq
deriv_rtx_coarse
deriv_rtx_fine
deriv_rty_coarse
deriv_rty_fine
dfma
dge
discard
div
dlt
dmax
dmin
dmov
dmovc
dmul
dne
dp2
dp3
dp4
drcp
else
emit
emit_stream
emitThenCut
emitThenCut_stream
endif
endloop
endswitch
eq
exp
f16tof32
f32tof16
fcall
firstbit
frc
ftod
ftoi
ftou
gather4
gather4_c
gather4_po
gather4_po_c
ge
hs_control_point_phase
hs_decls
hs_fork_phase
hs_join_phase
iadd
ibfe
ieq
if
ige
ilt
imad
imin
imm_atomic_alloc
imm_atomic_and
imm_atomic_cmp_exch
imm_atomic_consume
imm_atomic_exch
imm_atomic_iadd
imm_atomic_imax
imm_atomic_imin
imm_atomic_or
imm_atomic_umax
imm_atomic_umin
imm_atomic_xor
imul
ine
ineg
ishl
ishr
itof
label
ld
ld_raw
ld_structured
ld_uav_typed
ld2dms
lod
log
loop
lt
mad
max
min
mov
movc
mul
ne
nop
not
or
rcp
resinfo
ret
retc
round_ne
round_ni
round_pi
round_z
rsq
sample
sample_b
sample_c
sample_c_lz
sample_d
sample_l
sampleinfo
samplepos
sincos
sqrt
store_raw
store_structured
store_uav_typed
swapc
switch
sync
uaddc
ubfe
udiv
uge
ult
umad
umax
umin
umul
ushr
usubb
utof
xor
Related topics