Add warning log for Pow2 tessellation partitioning

This commit is contained in:
Hog 2026-06-08 12:14:06 +01:00 committed by GitHub
parent 9af54811a0
commit 9be38f4f8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -239,6 +239,8 @@ spv::ExecutionMode ExecutionMode(AmdGpu::TessellationPartitioning spacing) {
case AmdGpu::TessellationPartitioning::Pow2:
// Pow2 rounds tessellation factors to the nearest power of 2, which has no
// direct Vulkan equivalent. SpacingEqual (integer) is the closest match.
LOG_WARNING(Render_Vulkan,
"Tessellation partitioning Pow2 has no Vulkan equivalent, falling back to SpacingEqual");
return spv::ExecutionMode::SpacingEqual;
default:
break;