summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_shader_info.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-01-24 17:44:35 +0100
committerSamuel Pitoiset <[email protected]>2018-01-26 12:14:27 +0100
commitb358e0e67fac397713bc00e0b8e0278d691af282 (patch)
treefab258d2bcb44f91b365637b65293243f7dc38ac /src/amd/common/ac_shader_info.h
parentb9e2f78d6e0cd7d562ffd9030768bd96ecc8ecd3 (diff)
ac/shader: scan if fragment shaders write memory
It's better to do that in ac_shader_info. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/common/ac_shader_info.h')
-rw-r--r--src/amd/common/ac_shader_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_shader_info.h b/src/amd/common/ac_shader_info.h
index 2be61679fc7..59b749576aa 100644
--- a/src/amd/common/ac_shader_info.h
+++ b/src/amd/common/ac_shader_info.h
@@ -42,6 +42,7 @@ struct ac_shader_info {
bool force_persample;
bool needs_sample_positions;
bool uses_input_attachments;
+ bool writes_memory;
} ps;
struct {
bool uses_grid_size;