Note: I am sampling from output_image1 instead of output_image.output_image1 is an intentional typo.

Also, if it compiles and links cleanly, I would have expected it to go to the else part of the test color.r < 0.0 , since color would be undefined. (Really, I should be getting an error since how on earth can you be trying to access .r from an undefined color. Or am i returning some default value if the texture being sampled is undefined/errornous??)

It appears that I get a white color render instead of erroring out or a green screen ( color assigned from the else part).