enforce discard only in fragment (#2262)

This commit is contained in:
Pâris DOUADY authored and GitHub committed 2023-02-27 10:47:10 +01:00
1 parent 00be08e9f8
commit a7b52b8663
2 files changed
+30

No files matched your search

+1
View File
@@ -595,6 +595,7 @@ impl super::Validator {
finished = true;
}
S::Kill => {
stages &= super::ShaderStages::FRAGMENT;
finished = true;
}
S::Barrier(_) => {