Guest User

Untitled

a guest
Dec 11th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. (
  2. (declare (location=0 shader_in ) vec4 gl_FragCoord)
  3. (declare (location=4 coherent shader_in ) vec4 shader_input)
  4. (declare (location=4 coherent shader_out ) vec4 o_color)
  5. (declare (location=0 uniform ) sampler2D u_sampler)
  6. ( function main
  7. (signature void
  8. (parameters
  9. )
  10. (
  11. (assign (xyzw) (var_ref o_color) (expression vec4 + (var_ref shader_input) (txf vec4 (var_ref u_sampler) (swiz xy (expression ivec4 f2i (var_ref gl_FragCoord) ) ) 0 (constant int (0)) )))
  12. ))
  13.  
  14. )
  15.  
  16. )
Add Comment
Please, Sign In to add comment