projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
819d0e1
)
nir/gather_info: Handle discard_if
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 31 Mar 2016 03:37:18 +0000
(20:37 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 8 Apr 2016 22:58:36 +0000
(15:58 -0700)
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/compiler/nir/nir_gather_info.c
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_gather_info.c
b/src/compiler/nir/nir_gather_info.c
index 046836fc534cd7d8d11b88b329f08890f718e1dc..bff235bb3775f4f788694aee0fc933c72f6b5889 100644
(file)
--- a/
src/compiler/nir/nir_gather_info.c
+++ b/
src/compiler/nir/nir_gather_info.c
@@
-28,6
+28,7
@@
gather_intrinsic_info(nir_intrinsic_instr *instr, nir_shader *shader)
{
switch (instr->intrinsic) {
case nir_intrinsic_discard:
+ case nir_intrinsic_discard_if:
assert(shader->stage == MESA_SHADER_FRAGMENT);
shader->info.fs.uses_discard = true;
break;