[Vulkan] Alpha to coverage FSI implementation

This commit is contained in:
Herman S.
2025-11-20 23:27:27 +09:00
parent 792e61f6e2
commit 5d74d69aa8
2 changed files with 224 additions and 52 deletions

View File

@@ -704,7 +704,7 @@ class SpirvShaderTranslator : public ShaderTranslator {
// coverage_out is modified to include this sample if it passes.
void FSI_AlphaToMaskSample(bool initialize, uint32_t sample_index,
float threshold_base, spv::Id threshold_offset,
float threshold_offset_scale,
float threshold_offset_scale, spv::Id alpha,
spv::Id& coverage_out);
// Alpha to coverage main function.