Sign in
skia
/
skia
/
97be28c4cc05231fe6e70dc32662c24700e731cc
/
.
/
tests
/
sksl
/
workarounds
/
BuiltinDeterminantSupportStandaloneSettings.glsl
blob: 47a168628aaa1e46d93c799aa299514ecfe831c6 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform mat2 testMatrix2x2
;
uniform vec4 colorGreen
;
uniform vec4 colorRed
;
vec4 main
()
{
return
determinant
(
testMatrix2x2
)
==
-
2.0
?
colorGreen
:
colorRed
;
}