nir: gather info whether a shader uses demote_to_helper
[mesa.git] / src / compiler / shader_info.h
index d13e51a47a6bbf6f82ce7eaeea5ccbfcb18bc887..4510ce33fb6712b0f91f2cadf7677359db304336 100644 (file)
@@ -217,6 +217,7 @@ typedef struct shader_info {
 
       struct {
          bool uses_discard:1;
+         bool uses_demote:1;
 
          /**
           * True if this fragment shader requires helper invocations.  This