summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_shader_info.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-01-12 12:49:28 +0100
committerSamuel Pitoiset <[email protected]>2018-01-15 11:51:47 +0100
commit5ba1a61648e2dea96f621a5886ad8b937a471ab4 (patch)
tree9fe3ad435615fd1f27823e5df7d24b87287521f3 /src/amd/common/ac_shader_info.h
parentaebde47840c8ca1fbb32a66df49c2476893ad946 (diff)
ac/shader: gather If TES reads TESSINNER or TESSOUTER
This shouldn't be scanned in the pipeline. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/amd/common/ac_shader_info.h')
-rw-r--r--src/amd/common/ac_shader_info.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/common/ac_shader_info.h b/src/amd/common/ac_shader_info.h
index 2be61679fc7..fbafeb9f0e7 100644
--- a/src/amd/common/ac_shader_info.h
+++ b/src/amd/common/ac_shader_info.h
@@ -49,6 +49,9 @@ struct ac_shader_info {
bool uses_thread_id[3];
bool uses_local_invocation_idx;
} cs;
+ struct {
+ bool reads_tess_factors;
+ } tes;
};
/* A NIR pass to gather all the info needed to optimise the allocation patterns