[GPU] added polygon rendering support for VK
This commit is contained in:
parent
082b5fa246
commit
a86f67393b
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue