aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/SkSLGLSLTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/SkSLGLSLTest.cpp')
-rw-r--r--tests/SkSLGLSLTest.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/SkSLGLSLTest.cpp b/tests/SkSLGLSLTest.cpp
index 29b3129230..a40b72c2e8 100644
--- a/tests/SkSLGLSLTest.cpp
+++ b/tests/SkSLGLSLTest.cpp
@@ -408,11 +408,43 @@ DEF_TEST(SkSLNegatedAtan, r) {
DEF_TEST(SkSLModifiersDeclaration, r) {
test(r,
"layout(blend_support_all_equations) out;"
+ "layout(blend_support_all_equations) out;"
+ "layout(blend_support_multiply) out;"
+ "layout(blend_support_screen) out;"
+ "layout(blend_support_overlay) out;"
+ "layout(blend_support_darken) out;"
+ "layout(blend_support_lighten) out;"
+ "layout(blend_support_colordodge) out;"
+ "layout(blend_support_colorburn) out;"
+ "layout(blend_support_hardlight) out;"
+ "layout(blend_support_softlight) out;"
+ "layout(blend_support_difference) out;"
+ "layout(blend_support_exclusion) out;"
+ "layout(blend_support_hsl_hue) out;"
+ "layout(blend_support_hsl_saturation) out;"
+ "layout(blend_support_hsl_color) out;"
+ "layout(blend_support_hsl_luminosity) out;"
"void main() { }",
*SkSL::ShaderCapsFactory::Default(),
"#version 400\n"
"out vec4 sk_FragColor;\n"
"layout (blend_support_all_equations) out ;\n"
+ "layout (blend_support_all_equations) out ;\n"
+ "layout (blend_support_multiply) out ;\n"
+ "layout (blend_support_screen) out ;\n"
+ "layout (blend_support_overlay) out ;\n"
+ "layout (blend_support_darken) out ;\n"
+ "layout (blend_support_lighten) out ;\n"
+ "layout (blend_support_colordodge) out ;\n"
+ "layout (blend_support_colorburn) out ;\n"
+ "layout (blend_support_hardlight) out ;\n"
+ "layout (blend_support_softlight) out ;\n"
+ "layout (blend_support_difference) out ;\n"
+ "layout (blend_support_exclusion) out ;\n"
+ "layout (blend_support_hsl_hue) out ;\n"
+ "layout (blend_support_hsl_saturation) out ;\n"
+ "layout (blend_support_hsl_color) out ;\n"
+ "layout (blend_support_hsl_luminosity) out ;\n"
"void main() {\n"
"}\n");
}