mirror of
https://github.com/hedge-dev/XenosRecomp.git
synced 2025-10-30 07:12:17 +00:00
* 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.
11 lines
242 B
C++
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);
|
|
};
|