diff options
| author | 2021-02-19 18:10:18 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:22 -0400 | |
| commit | 6db69990da9f232e6d982cdcb69c2e27d93075cf (patch) | |
| tree | 9367909cd030622ea36c4cadccd2fabc6f28d471 /src/shader_recompiler/object_pool.h | |
| parent | shader: Primitive Vulkan integration (diff) | |
| download | yuzu-6db69990da9f232e6d982cdcb69c2e27d93075cf.tar.gz yuzu-6db69990da9f232e6d982cdcb69c2e27d93075cf.tar.xz yuzu-6db69990da9f232e6d982cdcb69c2e27d93075cf.zip | |
spirv: Add lower fp16 to fp32 pass
Diffstat (limited to '')
| -rw-r--r-- | src/shader_recompiler/object_pool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/object_pool.h b/src/shader_recompiler/object_pool.h index f78813b5f..c10751b9d 100644 --- a/src/shader_recompiler/object_pool.h +++ b/src/shader_recompiler/object_pool.h | |||
| @@ -18,7 +18,7 @@ public: | |||
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | template <typename... Args> | 20 | template <typename... Args> |
| 21 | requires std::is_constructible_v<T, Args...> [[nodiscard]] T* Create(Args&&... args) { | 21 | requires std::is_constructible_v<T, Args...>[[nodiscard]] T* Create(Args&&... args) { |
| 22 | return std::construct_at(Memory(), std::forward<Args>(args)...); | 22 | return std::construct_at(Memory(), std::forward<Args>(args)...); |
| 23 | } | 23 | } |
| 24 | 24 | ||