Fix uninitialized warning and remove header pollution (#803)

* Fix uninitialized warning and remove header pollution

* Nits

* IWYU

* More IWYU
This commit is contained in:
wheremyfoodat
2025-08-07 23:12:45 +03:00
committed by GitHub
parent 1f2403c417
commit bd81c72608
17 changed files with 66 additions and 94 deletions

View File

@@ -2,6 +2,7 @@
#include <map>
#include "helpers.hpp"
#include "pica_to_mtl.hpp"
using namespace PICA;
@@ -17,7 +18,6 @@ namespace Metal {
class DepthStencilCache {
public:
DepthStencilCache() = default;
~DepthStencilCache() { reset(); }
void set(MTL::Device* dev) { device = dev; }