Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (
- (declare (location=0 shader_in ) vec4 gl_FragCoord)
- (declare (location=4 coherent shader_in ) vec4 shader_input)
- (declare (location=4 coherent shader_out ) vec4 o_color)
- (declare (location=0 uniform ) sampler2D u_sampler)
- ( function main
- (signature void
- (parameters
- )
- (
- (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)) )))
- ))
- )
- )
Add Comment
Please, Sign In to add comment