Fixed comment

This commit is contained in:
Zyko 2024-06-14 20:20:15 +02:00
parent 5e40bce5c9
commit ea462f4cb6
3 changed files with 3 additions and 3 deletions

View File

@ -619,7 +619,7 @@ func (g *graphics11) DrawTriangles(dstIDs [graphics.ShaderDstImageCount]graphics
srcs[i] = img
}
// If the number of targets is more than one, or if the only target is the first one, then
// If the number of targets is more than one, or if the only target is not the first one, then
// it is safe to assume that MRT is used.
// Also, it only matters in order to specify empty targets/viewports when not all slots are
// being filled, even though it's not a MRT scenario.

View File

@ -1254,7 +1254,7 @@ func (g *graphics12) DrawTriangles(dstIDs [graphics.ShaderDstImageCount]graphics
g.drawCommandList.ResourceBarrier(resourceBarriers)
}
// If the number of targets is more than one, or if the only target is the first one, then
// If the number of targets is more than one, or if the only target is not the first one, then
// it is safe to assume that MRT is used.
// Also, it only matters in order to specify empty targets/viewports when not all slots are
// being filled, even though it's not a MRT scenario.

View File

@ -226,7 +226,7 @@ func (g *Graphics) DrawTriangles(dstIDs [graphics.ShaderDstImageCount]graphicsdr
}
f := uint32(dsts[firstTarget].framebuffer.native)
// If the number of targets is more than one, or if the only target is the first one, then
// If the number of targets is more than one, or if the only target is not the first one, then
// it is safe to assume that MRT is used.
// Also, it only matters in order to specify empty targets/viewports when not all slots are
// being filled.