XenosRecomp/ShaderRecomp/dxc_compiler.h
Skyth (Asilkan) f936ed2212
Specialization constants, reverse Z and smol-v implementation. (#2)
* Specialization constant & DXIL library implementation.

* Fix alpha to coverage.

* Add reverse Z implementation.

* Avoid dynamic branches when loading array constants.

* Remove "has bone" specialization constant.

* Integrate smol-v.
2024-11-29 23:14:08 +03:00

11 lines
242 B
C++

#pragma once
struct DxcCompiler
{
IDxcCompiler3* dxcCompiler = nullptr;
DxcCompiler();
~DxcCompiler();
IDxcBlob* compile(const std::string& shaderSource, bool compilePixelShader, bool compileLibrary, bool compileSpirv);
};