• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1### Compilation failed:
2
3error: 16: no match for textureRead(writeonlyTexture2D, uint2)
4    textureRead(dest, sk_GlobalInvocationID.xy);           // BAD
5    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6error: 17: no match for textureWrite(readonlyTexture2D, uint2, half4)
7    textureWrite(src, sk_GlobalInvocationID.xy, half4(1)); // BAD
8    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9error: 20: no match for overload(readonlyTexture2D, int)
10    overload(src, 1);  // BAD: overload(readonly texture2D t, int) missing
11    ^^^^^^^^^^^^^^^^
12error: 21: no match for overload(writeonlyTexture2D)
13    overload(dest);    // BAD: overload(writeonly texture2D t)      missing
14    ^^^^^^^^^^^^^^
15error: 37: no match for textureWrite(readonlyTexture2D, uint2, half4)
16    textureWrite(t, sk_GlobalInvocationID.xy, half4(1)); // BAD
17    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18error: 43: no match for textureRead(writeonlyTexture2D, uint2)
19    textureRead(t, sk_GlobalInvocationID.xy);            // BAD
20    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
216 errors
22