Sign in
skia
/
skia
/
67c3ee616fb5014d483c5314900eea663f10f1e3
/
.
/
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
;
}