projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir: Remove some unused fields from nir_variable
[mesa.git]
/
src
/
compiler
/
nir
/
nir_lower_clip.c
diff --git
a/src/compiler/nir/nir_lower_clip.c
b/src/compiler/nir/nir_lower_clip.c
index 80db653a4286cb4176ea7f15e04e201939d04734..62540ac11d937868b78299a242c29ac4d1b44d01 100644
(file)
--- a/
src/compiler/nir/nir_lower_clip.c
+++ b/
src/compiler/nir/nir_lower_clip.c
@@
-286,6
+286,8
@@
lower_clip_fs(nir_function_impl *impl, unsigned ucp_enables,
nir_intrinsic_discard_if);
discard->src[0] = nir_src_for_ssa(cond);
nir_builder_instr_insert(&b, &discard->instr);
+
+ b.shader->info->fs.uses_discard = true;
}
}
}