Is it better to have multiple small textures or one large texture as input texture for compute shader?
My goal is to use 5 1080×1080 textures and use the algorithm in the compute shader to generate a new 1080×1080 texture. Each pixel will most take the colors of 16 adjacent pixels from the same input texture to generate the new color. My problem is that I tried two ways to achieve this. The first one is to use 5 1080×1080 textures as input texture, and the second one is to use 1 5400×1080 texture as input texture. Yes, this 5400×1080 texture is made by horizontally stitching 5 1080×1080 textures, and the principle of generation is similar to splitscreen. Except for the difference in texture input and the slightly different algorithm, everything else is exactly the same.