[GPU] added polygon rendering support for VK

This commit is contained in:
ParantezTech 2026-09-22 04:15:50 +03:00
parent 082b5fa246
commit a86f67393b
2 changed files with 3 additions and 0 deletions

View File

@ -310,6 +310,7 @@ public sealed partial class RenderExecutor
case GuestPrimitiveType.TriangleList:
case GuestPrimitiveType.TriangleFan:
case GuestPrimitiveType.TriangleStrip:
case GuestPrimitiveType.Polygon:
case GuestPrimitiveType.RectangleList:
if (emission.Indexed)
{

View File

@ -24,6 +24,7 @@ public enum GuestPrimitiveType : uint
RectangleList = 7,
RectangleListLegacy = 17,
QuadListLegacy = 19,
Polygon = 21,
}
public enum GuestIndexType : uint
@ -479,6 +480,7 @@ public sealed partial class RenderExecutor
topology = PrimitiveTopology.TriangleList;
break;
case GuestPrimitiveType.TriangleFan:
case GuestPrimitiveType.Polygon:
topology = PrimitiveTopology.TriangleFan;
break;
case GuestPrimitiveType.TriangleStrip: