To pass some time in a train yesterday, I've copy'n'pasted my recent GPU ISP into Millipixels' postprocessing code to see how it compares with what was already there. Before/after:
@pavel ??? Full 13MP is still well within GL texture limits. The code just works as-is.
@pavel Just take a step back and think a bit about what you just wrote and you won't need any code 😜
@pavel I'd rather give the shader RGB values than rebayer debayered data so it can debayer it again if I wanted "easy", but that's just me.
@pavel How comfortable does one need to be to replace a single line that calls a function called "debayer"? 🤔