c3ce43be8e
Change-Id: Ic2d1240ab785101365b0fd934562505fb5a3e599 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/381816 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
20 lines
409 B
Metal
20 lines
409 B
Metal
#include <metal_stdlib>
|
|
#include <simd/simd.h>
|
|
using namespace metal;
|
|
struct Inputs {
|
|
};
|
|
struct Outputs {
|
|
float4 sk_FragColor [[color(0)]];
|
|
};
|
|
fragment Outputs fragmentMain(Inputs _in [[stage_in]], bool _frontFacing [[front_facing]], float4 _fragCoord [[position]]) {
|
|
Outputs _out;
|
|
(void)_out;
|
|
float x = 0.0;
|
|
{
|
|
x = 0.0;
|
|
|
|
}
|
|
_out.sk_FragColor = float4(x);
|
|
return _out;
|
|
}
|