nir: gather info whether a shader uses demote_to_helper

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4047>
This commit is contained in:
Daniel Schürmann
2020-03-04 16:43:15 +01:00
committed by Marge Bot
parent 66bb314cb4
commit 5adcfa68a9
2 changed files with 4 additions and 0 deletions

View 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