diff options
| author | Yong He <yonghe@outlook.com> | 2022-10-12 14:43:48 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-12 14:43:48 -0700 |
| commit | d96250bcc2e8fedb485df3ed0fdc28f89f6d23c8 (patch) | |
| tree | bae58b1292ef417f01ecbcf8bc74360f4a66a264 /tools/gfx/debug-layer | |
| parent | 12e7d70655bdf7c796ab86bff7af636d198aa222 (diff) | |
Allow setting shader model upon d3d device creation. (#2442)
* Allow setting shader model upon d3d device creation.
* Add sm_6_7 profile.
* More fixes and cleanups.
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/debug-layer')
| -rw-r--r-- | tools/gfx/debug-layer/debug-command-encoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/debug-layer/debug-command-encoder.cpp b/tools/gfx/debug-layer/debug-command-encoder.cpp index b8b005338..64ebd2b46 100644 --- a/tools/gfx/debug-layer/debug-command-encoder.cpp +++ b/tools/gfx/debug-layer/debug-command-encoder.cpp @@ -346,7 +346,7 @@ void DebugResourceCommandEncoderImpl::resolveQuery( IQueryPool* queryPool, GfxIndex index, GfxCount count, IBufferResource* buffer, Offset offset) { SLANG_GFX_API_FUNC; - getBaseResourceEncoder()->resolveQuery(getInnerObj(queryPool), index, count, buffer, offset); + getBaseResourceEncoder()->resolveQuery(getInnerObj(queryPool), index, count, getInnerObj(buffer), offset); } void DebugResourceCommandEncoderImpl::copyTextureToBuffer( |
