unplugged-vendor/external/skia/resources/sksl/fp/GrModuloOp.fp

5 lines
108 B
GLSL

// Test that '%' is expanded to '%%' in emitCode
half4 main() {
return half4(half(1 % int(sqrt(2))));
}