diff options
author | Lionel Landwerlin <[email protected]> | 2017-09-25 18:46:16 +0100 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2017-10-06 16:32:19 +0100 |
commit | a2a7846d37012645975381263be27af4e31901ea (patch) | |
tree | fce1b9e61799ce09932e3d1ae7494824a7e8a5b5 /src/intel/vulkan/genX_state.c | |
parent | 72aec2060fb47f0423770891ac64e927b8f92790 (diff) |
anv/apply_pipeline_layout: Prepare for multi-planar images
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/genX_state.c')
-rw-r--r-- | src/intel/vulkan/genX_state.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/vulkan/genX_state.c b/src/intel/vulkan/genX_state.c index d016aff4a54..81570825a54 100644 --- a/src/intel/vulkan/genX_state.c +++ b/src/intel/vulkan/genX_state.c @@ -171,6 +171,8 @@ VkResult genX(CreateSampler)( if (!sampler) return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY); + sampler->n_planes = 1; + uint32_t border_color_offset = device->border_colors.offset + pCreateInfo->borderColor * 64; |