summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2019-02-07 10:16:24 -0600
committerJason Ekstrand <[email protected]>2019-04-19 19:56:42 +0000
commite612c3b9bfd5c9bfb6ece9e2b3c88f787d742d85 (patch)
tree817c0999a4ccbd387efb309b689111e83644d3c3 /src/intel/vulkan/anv_private.h
parent843286d324c833198f4f5bd6d548ab3612968169 (diff)
anv: Count the number of planes in each descriptor binding
Reviewed-by: Lionel Landwerlin <[email protected]> Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 9c747fa019c..bb24ff1ae82 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -1558,6 +1558,9 @@ struct anv_descriptor_set_binding_layout {
/* Bitfield representing the type of data this descriptor contains */
enum anv_descriptor_data data;
+ /* Maximum number of YCbCr texture/sampler planes */
+ uint8_t max_plane_count;
+
/* Number of array elements in this binding (or size in bytes for inline
* uniform data)
*/