forked from Misaki/GhostEngine
Add mesh shader support to rendering context and fix some bugs.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
using Ghost.Core;
|
||||
using Ghost.Graphics.Core;
|
||||
using Ghost.Graphics.Contracts;
|
||||
using Ghost.Graphics.RHI;
|
||||
using Ghost.Graphics.Utilities;
|
||||
using Ghost.SDL.Compiler;
|
||||
using Misaki.HighPerformance.Image;
|
||||
using Ghost.Graphics.Core;
|
||||
|
||||
namespace Ghost.Graphics.RenderPasses;
|
||||
|
||||
@@ -67,7 +67,7 @@ internal unsafe class MeshRenderPass : IRenderPass
|
||||
|
||||
public void Execute(ref readonly RenderingContext ctx)
|
||||
{
|
||||
ctx.RenderMesh(_mesh, _material, "Forward");
|
||||
ctx.DispatchMesh(_mesh, _material, "Forward", 8);
|
||||
}
|
||||
|
||||
public void Cleanup(IResourceDatabase resourceDatabase)
|
||||
|
||||
Reference in New Issue
Block a user