Detect if a shader uses `llvm.dx.resource.handlefromheap` and set the appropriate shader flags. See https://github.com/microsoft/DirectXShaderCompiler/blob/main/docs/DXIL.rst#shader-flags, bits 30 and 31.
Detect if a shader uses
llvm.dx.resource.handlefromheapand set the appropriate shader flags. See https://github.com/microsoft/DirectXShaderCompiler/blob/main/docs/DXIL.rst#shader-flags, bits 30 and 31.