diff options
author | Lionel Landwerlin <[email protected]> | 2017-09-25 18:47:33 +0100 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2017-10-06 16:32:19 +0100 |
commit | 3492d560671c09a4d42630cbf51ceaefc99b9db6 (patch) | |
tree | 258b772a733e7053036a1060579a0fce92bbaa4e /src/intel/vulkan/anv_private.h | |
parent | a2a7846d37012645975381263be27af4e31901ea (diff) |
anv: prepare sampler emission code for multiplanar images
New settings from the KHR_sampler_ycbcr_conversion specifications
might require different sampler settings for luma and chroma planes.
This change makes the sampler table emission ready to handle multiple
planes.
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index ff1b1cc8a80..5dde45f7cb9 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -2545,7 +2545,7 @@ void anv_fill_buffer_surface_state(struct anv_device *device, uint32_t stride); struct anv_sampler { - uint32_t state[4]; + uint32_t state[3][4]; uint32_t n_planes; }; |