浏览代码

RenderGraph: fix compilation with barrier

Yuxiao Mao 1 月之前
父节点
当前提交
8d5f1e40f8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      h3d/impl/RenderGraphDriver.hx

+ 2 - 2
h3d/impl/RenderGraphDriver.hx

@@ -208,8 +208,8 @@ class RenderGraphDriver extends Driver {
 		d.uploadTexturePixels(t, pixels, mipLevel, side);
 	}
 
-	override function computeDispatch( x : Int = 1, y : Int = 1, z : Int = 1 ) {
-		d.computeDispatch(x,y,z);
+	override function computeDispatch( x : Int = 1, y : Int = 1, z : Int = 1, barrier : Bool = true ) {
+		d.computeDispatch(x, y, z, barrier);
 	}
 
 	override function getDefaultDepthBuffer() {