BradLarson / GPUImage3

GPUImage 3 is a BSD-licensed Swift framework for GPU-accelerated video and image processing using Metal.
BSD 3-Clause "New" or "Revised" License
2.68k stars 330 forks source link

blend operations are setting up quadSampler2, but not using them? #105

Open jonkai opened 3 years ago

jonkai commented 3 years ago

as an example, in SourceOverBlend.metal shouldn't the line be this below instead? (using second quadSampler2)

   half4 textureColor2 = inputTexture2.sample(quadSampler2, fragmentInput.textureCoordinate2);