1 2 3 4 5 6 7 8 9
#version 450 #include "glu_head.comp" float op(float a, float b) { return a / (1.0f + exp(-a)) * b; } #include "glu_main.comp"