2
0
Эх сурвалжийг харах

Fix depth attach on metal

luboslenco 2 жил өмнө
parent
commit
09d779603b

+ 6 - 0
Sources/arm/render/RenderPathDeferred.hx

@@ -555,6 +555,12 @@ class RenderPathDeferred {
 				t.scale = Inc.getSuperSampling();
 				path.createRenderTarget(t);
 			}
+
+			#if kha_metal
+			// TODO: Fix depth attach for gbuffer0_copy on metal
+			// Use resize to re-create buffers from scratch for now
+			path.resize();
+			#end
 		}
 	}