22 lines
626 B
Plaintext
22 lines
626 B
Plaintext
### Compilation failed:
|
|
|
|
error: 1: invalid type
|
|
layout(binding=0) uniform sampler2D t;
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
error: 2: 'main' must return: 'vec4', 'float4', or 'half4'
|
|
void main()
|
|
^^^^^^^^^^^
|
|
error: 4: unknown identifier 'sample'
|
|
half4 c = sample(t, half2(0));
|
|
^^^^^^
|
|
error: 5: unknown identifier 'sk_FragColor'
|
|
sk_FragColor = c * sample(t, half3(1));
|
|
^^^^^^^^^^^^
|
|
error: 5: unknown identifier 'c'
|
|
sk_FragColor = c * sample(t, half3(1));
|
|
^
|
|
error: 5: unknown identifier 'sample'
|
|
sk_FragColor = c * sample(t, half3(1));
|
|
^^^^^^
|
|
6 errors
|