IDkmGPUSymbolProviderCallback.TranslateAcceleratorTagByIP 方法

定义

将快捷键指针标记转换为 HLSL register 特性。

public:
 void TranslateAcceleratorTagByIP(Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ module, System::UInt32 inputTag, System::UInt32 instructionPointer, [Runtime::InteropServices::Out] System::UInt32 % registerType, [Runtime::InteropServices::Out] System::UInt32 % registerIndex, [Runtime::InteropServices::Out] System::UInt32 % firstElement, [Runtime::InteropServices::Out] System::UInt32 % vectorElements, [Runtime::InteropServices::Out] System::UInt32 % byteOffset, [Runtime::InteropServices::Out] System::UInt32 % vectorElementSize);
public void TranslateAcceleratorTagByIP (Microsoft.VisualStudio.Debugger.Symbols.DkmModule module, uint inputTag, uint instructionPointer, out uint registerType, out uint registerIndex, out uint firstElement, out uint vectorElements, out uint byteOffset, out uint vectorElementSize);
abstract member TranslateAcceleratorTagByIP : Microsoft.VisualStudio.Debugger.Symbols.DkmModule * uint32 * uint32 * uint32 * uint32 * uint32 * uint32 * uint32 * uint32 -> unit
Public Sub TranslateAcceleratorTagByIP (module As DkmModule, inputTag As UInteger, instructionPointer As UInteger, ByRef registerType As UInteger, ByRef registerIndex As UInteger, ByRef firstElement As UInteger, ByRef vectorElements As UInteger, ByRef byteOffset As UInteger, ByRef vectorElementSize As UInteger)

参数

module
DkmModule

中DkmModule 类表示 (ex: dll 或 exe) 的代码绑定,或将其加载到一个或多个进程中。 DkmModule 类是指向符号 Api 的中心对象,为1:1,并带有符号处理程序的表示形式。 如果代码绑定加载到三个不同的进程 (或相同的进程,但具有三个不同的基址或三个不同的应用程序域) 但符号处理程序认为所有这些都是相同的,则将只有一个 module 对象。

inputTag
UInt32

中符号中找到的快捷键指针标记。

instructionPointer
UInt32

[In] 用于获取指针转换范围的当前指令指针。

registerType
UInt32

弄HLSL 注册类型。

registerIndex
UInt32

弄HLSL 注册索引。

firstElement
UInt32

弄第一个向量元素的索引。

vectorElements
UInt32

弄矢量元素的数目。

byteOffset
UInt32

弄偏移量(字节)。

vectorElementSize
UInt32

弄每个向量元素的大小。

适用于