Skip to content

Unimplemented HLSL ASM Instructions

baldurk edited this page Sep 2, 2014 · 10 revisions

Some of these may be easy to implement, I just haven't had a good example to base the implementation on & test against.

Operands

  • Groupshared memory

Functions & Flow control instructions

Texture instructions

Atomic instructions

Geometry instructions

New D3D11.1+ instructions

These are not documented anywhere on the bytecode side, only hlsl side 😩. Most of them are obvious though.

  • OPCODE_ABORT
  • OPCODE_DEBUGBREAK - ???
  • OPCODE_DDIV - double divide
  • OPCODE_DFMA - double fused multiply add
  • OPCODE_DRCP - double reciprocal
  • OPCODE_MSAD
  • OPCODE_DTOI - double to int
  • OPCODE_DTOU - double to uint
  • OPCODE_ITOD - int to double
  • OPCODE_UTOD - uint to double

Feedback functions (for tiled resources)

  • OPCODE_GATHER4_FEEDBACK
  • OPCODE_GATHER4_C_FEEDBACK
  • OPCODE_GATHER4_PO_FEEDBACK
  • OPCODE_GATHER4_PO_C_FEEDBACK
  • OPCODE_LD_FEEDBACK
  • OPCODE_LD_MS_FEEDBACK
  • OPCODE_LD_UAV_TYPED_FEEDBACK
  • OPCODE_LD_RAW_FEEDBACK
  • OPCODE_LD_STRUCTURED_FEEDBACK
  • OPCODE_SAMPLE_L_FEEDBACK
  • OPCODE_SAMPLE_C_LZ_FEEDBACK
  • OPCODE_SAMPLE_CLAMP_FEEDBACK
  • OPCODE_SAMPLE_B_CLAMP_FEEDBACK
  • OPCODE_SAMPLE_D_CLAMP_FEEDBACK
  • OPCODE_SAMPLE_C_CLAMP_FEEDBACK
  • OPCODE_CHECK_ACCESS_FULLY_MAPPED

Clone this wiki locally