1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-28 02:19:26 +01:00

[dxvk] Add shader flag for point-mode tessellation

This commit is contained in:
Philip Rebohle 2025-03-14 23:56:18 +01:00
parent 74eff25dc0
commit aa637d6286
2 changed files with 4 additions and 0 deletions

View File

@ -126,6 +126,9 @@ namespace dxvk {
if (ins.arg(2) == spv::ExecutionModeXfb)
m_flags.set(DxvkShaderFlag::HasTransformFeedback);
if (ins.arg(2) == spv::ExecutionModePointMode)
m_flags.set(DxvkShaderFlag::TessellationPoints);
}
if (ins.opCode() == spv::OpCapability) {

View File

@ -33,6 +33,7 @@ namespace dxvk {
ExportsSampleMask,
UsesFragmentCoverage,
UsesSparseResidency,
TessellationPoints,
};
using DxvkShaderFlags = Flags<DxvkShaderFlag>;