2020-09-23 15:46:29 +00:00
|
|
|
in fragmentProcessor child;
|
|
|
|
|
2020-12-15 14:44:51 +00:00
|
|
|
half4 main() {
|
2020-09-23 15:46:29 +00:00
|
|
|
if (child.preservesOpaqueInput) {
|
2020-12-15 14:44:51 +00:00
|
|
|
return sample(child);
|
2020-09-23 15:46:29 +00:00
|
|
|
} else {
|
2020-12-15 14:44:51 +00:00
|
|
|
return half4(1);
|
2020-09-23 15:46:29 +00:00
|
|
|
}
|
|
|
|
}
|