diff options
author | Jason Ekstrand <[email protected]> | 2016-11-15 15:21:08 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-11-22 13:44:55 -0800 |
commit | 0acb28e0cfcb961a6b0650626adcabeea6f4d371 (patch) | |
tree | dc70153da174d37266e2217a16ae12722391739e /src/intel/vulkan/anv_private.h | |
parent | 3f1eda0b42eae5009a96b7f3c088b2d85eea44db (diff) |
anv/pipeline: Add a input_attachment_index to the bindings
This allows us to go from the binding to either the descriptor or the input
attachment at will.
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index c7e44742e2e..ba2e85a535f 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -913,6 +913,9 @@ struct anv_pipeline_binding { /* Index in the binding */ uint8_t index; + + /* Input attachment index (relative to the subpass) */ + uint8_t input_attachment_index; }; struct anv_pipeline_layout { |