diff options
author | Marek Olšák <[email protected]> | 2016-11-16 00:47:35 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-03-03 15:29:30 +0100 |
commit | 455c79b24f91fbceaed57d49718fa198e2a6b0ff (patch) | |
tree | e15fdd51cef17e6e18e6def4b7bb38555dc60139 /src/gallium/auxiliary/tgsi/tgsi_scan.h | |
parent | 3958c0176267315132a83b26b9c98f93a16c6994 (diff) |
tgsi/scan: record load/store/atomic image usage
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.h')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_scan.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.h b/src/gallium/auxiliary/tgsi/tgsi_scan.h index e3c24e950ed..3854827e5cb 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.h +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h @@ -138,14 +138,12 @@ struct tgsi_shader_info unsigned images_declared; /**< bitmask of declared images */ /** - * Bitmask indicating which images are written to (STORE / ATOM*). - * Indirect image accesses are not reflected in this mask. - */ - unsigned images_writemask; - /** * Bitmask indicating which declared image is a buffer. */ unsigned images_buffers; + unsigned images_load; /**< bitmask of images using loads */ + unsigned images_store; /**< bitmask of images using stores */ + unsigned images_atomic; /**< bitmask of images using atomics */ unsigned shader_buffers_declared; /**< bitmask of declared shader buffers */ unsigned shader_buffers_load; /**< bitmask of shader buffers using loads */ unsigned shader_buffers_store; /**< bitmask of shader buffers using stores */ |