| 158 | |
| 159 | template<UINT TNameLength> |
| 160 | inline void SetDebugObjectName(_In_ ID3D12DeviceChild* resource, _In_z_ const wchar_t(&name)[TNameLength]) noexcept |
| 161 | { |
| 162 | #if !defined(NO_D3D12_DEBUG_NAME) && ( defined(_DEBUG) || defined(PROFILE) ) |
| 163 | resource->SetName(name); |
| 164 | #else |
| 165 | UNREFERENCED_PARAMETER(resource); |
| 166 | UNREFERENCED_PARAMETER(name); |
| 167 | #endif |
| 168 | } |
| 169 | |
| 170 | inline uint32_t CountMips(uint32_t width, uint32_t height) noexcept |
| 171 | { |
no outgoing calls
no test coverage detected