16 lines
414 B
Plaintext
16 lines
414 B
Plaintext
|
|
### Compilation failed:
|
||
|
|
|
||
|
|
error: 2: invalid type
|
||
|
|
layout(binding=0) uniform sampler2D s;
|
||
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
error: 4: 'main' must return: 'vec4', 'float4', or 'half4'
|
||
|
|
void main() {
|
||
|
|
^^^^^^^^^^^
|
||
|
|
error: 6: unknown identifier 'sk_FragColor'
|
||
|
|
sk_FragColor =
|
||
|
|
^^^^^^^^^^^^
|
||
|
|
error: 8: unknown identifier 'sample'
|
||
|
|
(tmpColor = sample(s, float2(1)),
|
||
|
|
^^^^^^
|
||
|
|
4 errors
|