aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/shader_info.h
diff options
context:
space:
mode:
authorDaniel Schürmann <[email protected]>2020-03-04 16:43:15 +0100
committerMarge Bot <[email protected]>2020-03-09 12:29:32 +0000
commit5adcfa68a935f866dd76f87a189108fbbf226630 (patch)
tree9bb92797ad445a3a5ade10dae58ad7446a886020 /src/compiler/shader_info.h
parent66bb314cb4f531e06e254b231ae1ded963d447c4 (diff)
nir: gather info whether a shader uses demote_to_helper
Reviewed-by: Marek Olšák <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4047>
Diffstat (limited to 'src/compiler/shader_info.h')
-rw-r--r--src/compiler/shader_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h
index d13e51a47a6..4510ce33fb6 100644
--- a/src/compiler/shader_info.h
+++ b/src/compiler/shader_info.h
@@ -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