You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PIX is the officially recommended debugger for DX and support is useful
Proposed API
// CPU onlyvoidPIXBeginEvent(ulongcolor,ushort*formatString,__arglist);// GPU and CPUvoidPIXBeginEvent(ID3D12CommandList*commandList,ulongcolor,ushort*formatString,__arglist);voidPIXBeginEvent(ID3D12CommandQueue*commandQueue,ulongcolor,ushort*formatString,__arglist);// CPU onlyvoidPIXEndEvent();// GPU and CPUvoidPIXEndEvent(ID3D12CommandList*commandList);voidPIXEndEvent(ID3D12CommandQueue*commandQueue);// CPUvoidPIXSetMarker(ulongcolor,ushort*formatString,__arglist);// GPU and CPUvoidPIXSetMarker(ID3D12GraphicsCommandList*commandList,ulongcolor,ushort*formatString,__arglist);voidPIXSetMarker(ID3D12CommandQueue*commandQueue,ulongcolor,ushort*formatString,__arglist);// Could be implemented with a IDisposable struct and a usingPIXScopedEvent(ulongcolor,ushort*formatString,__arglist);PIXScopedEvent(ID3D12GraphicsCommandList*commandList,ulongcolor,ushort*formatString,__arglist);PIXScopedEvent(ID3D12CommandQueue*commandQueue,ulongcolor,ushort*formatString,__arglist);voidPIXReportCounter(ushort*name,floatvalue);voidPIXNotifyWakeFromFenceSignal(HANDLEevent);// Returns a color for a PIX event or marker from the specified red, green and blue valuesintPIX_COLOR(byter,byteg,byteb);// Returns an arbitrary color value for the given index.// PIX allocates a unique color for each index.uintPIX_COLOR_INDEX(bytei);
Drawbacks
I am not sure about the copyright status of PIX, and obviously while calling the native functions is fine, porting the header ones might be an issue
The text was updated successfully, but these errors were encountered:
Idea
Introduce PIX bindings for this repo
Rationale
PIX is the officially recommended debugger for DX and support is useful
Proposed API
Drawbacks
I am not sure about the copyright status of PIX, and obviously while calling the native functions is fine, porting the header ones might be an issue
The text was updated successfully, but these errors were encountered: