From f65d756bff8d4c5cbc15bd0322a2ae8e6b896a21 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Tue, 29 Oct 2024 14:49:26 +0800 Subject: format * format * Minor test fixes * enable checking cpp format in ci --- tools/gfx/d3d12/d3d12-sampler.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools/gfx/d3d12/d3d12-sampler.cpp') diff --git a/tools/gfx/d3d12/d3d12-sampler.cpp b/tools/gfx/d3d12/d3d12-sampler.cpp index b96fb4c90..9f739a268 100644 --- a/tools/gfx/d3d12/d3d12-sampler.cpp +++ b/tools/gfx/d3d12/d3d12-sampler.cpp @@ -8,7 +8,10 @@ namespace d3d12 using namespace Slang; -SamplerStateImpl::~SamplerStateImpl() { m_allocator->free(m_descriptor); } +SamplerStateImpl::~SamplerStateImpl() +{ + m_allocator->free(m_descriptor); +} Result SamplerStateImpl::getNativeHandle(InteropHandle* outHandle) { -- cgit v1.2.3