Add render graph depth access semantics
This commit is contained in:
@@ -217,7 +217,7 @@ void ReadRenderGraphSurface(
|
||||
}
|
||||
|
||||
if (surface.depthTexture.IsValid()) {
|
||||
passBuilder.ReadTexture(surface.depthTexture);
|
||||
passBuilder.ReadDepthTexture(surface.depthTexture);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -241,7 +241,7 @@ void WriteRenderGraphSurface(
|
||||
}
|
||||
|
||||
if (surface.depthTexture.IsValid()) {
|
||||
passBuilder.WriteTexture(surface.depthTexture);
|
||||
passBuilder.WriteDepthTexture(surface.depthTexture);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user