blob: db0198ca18bc53712602d78143806a443258526f [file] [log] [blame]
// defines built-in interfaces supported by SkSL compute shaders
layout(builtin=28) in uint3 sk_ThreadPosition;
sk_has_side_effects half4 read($readableTexture2D t, uint2 pos);
sk_has_side_effects void write($writableTexture2D t, uint2 pos, half4 color);
uint width($genTexture2D t);
uint height($genTexture2D t);
sk_has_side_effects void threadgroupBarrier();