summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_scan.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2016-03-15 20:54:30 -0500
committerNicolai Hähnle <[email protected]>2016-03-21 15:34:25 -0500
commit79762e877cd9b439d5f7697d3fea8d930ab05646 (patch)
tree38ebf27967bf972a0fa759e151f28f262e13b3a9 /src/gallium/auxiliary/tgsi/tgsi_scan.h
parente9d935ed0e2839d2f07220a9f10477ab3cc79486 (diff)
tgsi/scan: add writes_memory to flag presence of stores or atomics
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_scan.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.h b/src/gallium/auxiliary/tgsi/tgsi_scan.h
index d777f23749b..76d8925119e 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_scan.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h
@@ -111,6 +111,7 @@ struct tgsi_shader_info
boolean writes_clipvertex;
boolean writes_viewport_index;
boolean writes_layer;
+ boolean writes_memory; /**< contains stores or atomics to buffers or images */
boolean is_msaa_sampler[PIPE_MAX_SAMPLERS];
boolean uses_doubles; /**< uses any of the double instructions */
unsigned clipdist_writemask;