diff options
| author | AlxcBTW <187763517+AlxcBTW@users.noreply.github.com> | 2026-11-22 15:13:40 +0100 |
|---|---|---|
| committer | AlxcBTW <187763517+AlxcBTW@users.noreply.github.com> | 2026-11-22 15:13:40 +0100 |
| commit | c2f39447b611f6c5df7bd283ae41e44a6f78d458 (patch) | |
| tree | 510b0aa4f91eaf897879ca44d9b6d41892640ddb /runtime/shims/d3d12_com.cpp | |
| parent | 967564a20c96f188982832102c0206957e761a2a (diff) | |
| parent | 003e78129303643a3fdc9e5f0e31a01b09759236 (diff) | |
Merge origin/main into m4-synthetic-gate
Diffstat (limited to 'runtime/shims/d3d12_com.cpp')
| -rw-r--r-- | runtime/shims/d3d12_com.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/shims/d3d12_com.cpp b/runtime/shims/d3d12_com.cpp index 48da39bbe..03d1bc814 100644 --- a/runtime/shims/d3d12_com.cpp +++ b/runtime/shims/d3d12_com.cpp | |||
| @@ -327,11 +327,13 @@ public: | |||
| 327 | } | 327 | } |
| 328 | 328 | ||
| 329 | void STDMETHODCALLTYPE DrawInstanced(UINT vertices, UINT instances, UINT first_vertex, UINT first_instance) override { | 329 | void STDMETHODCALLTYPE DrawInstanced(UINT vertices, UINT instances, UINT first_vertex, UINT first_instance) override { |
| 330 | d3d12_trace::record("ID3D12GraphicsCommandList::DrawInstanced"); | ||
| 330 | record_draw(false, vertices, instances, first_vertex, 0, first_instance); | 331 | record_draw(false, vertices, instances, first_vertex, 0, first_instance); |
| 331 | } | 332 | } |
| 332 | 333 | ||
| 333 | void STDMETHODCALLTYPE DrawIndexedInstanced(UINT indices, UINT instances, UINT first_index, INT base_vertex, | 334 | void STDMETHODCALLTYPE DrawIndexedInstanced(UINT indices, UINT instances, UINT first_index, INT base_vertex, |
| 334 | UINT first_instance) override { | 335 | UINT first_instance) override { |
| 336 | d3d12_trace::record("ID3D12GraphicsCommandList::DrawIndexedInstanced"); | ||
| 335 | record_draw(true, indices, instances, first_index, base_vertex, first_instance); | 337 | record_draw(true, indices, instances, first_index, base_vertex, first_instance); |
| 336 | } | 338 | } |
| 337 | 339 | ||