diff options
author | Dave Airlie <[email protected]> | 2017-06-14 23:46:44 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-06-26 01:24:10 +0100 |
commit | 4a34f3244abb13d61a84ec7f4101392b2574f4df (patch) | |
tree | 792c65d364b2f28073ea26df35614b0c4d342487 /src | |
parent | 0715b3c2eead0c31986e737a62d555fcb345ebda (diff) |
radv/meta: don't need vertex info for resolve shader.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/radv_meta_resolve_fs.c | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/src/amd/vulkan/radv_meta_resolve_fs.c b/src/amd/vulkan/radv_meta_resolve_fs.c index 1b959477b1f..97007d4ce6c 100644 --- a/src/amd/vulkan/radv_meta_resolve_fs.c +++ b/src/amd/vulkan/radv_meta_resolve_fs.c @@ -152,24 +152,8 @@ fail: static const VkPipelineVertexInputStateCreateInfo normal_vi_create_info = { .sType = VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO, - .vertexBindingDescriptionCount = 1, - .pVertexBindingDescriptions = (VkVertexInputBindingDescription[]) { - { - .binding = 0, - .stride = 2 * sizeof(float), - .inputRate = VK_VERTEX_INPUT_RATE_VERTEX - }, - }, - .vertexAttributeDescriptionCount = 1, - .pVertexAttributeDescriptions = (VkVertexInputAttributeDescription[]) { - { - /* Texture Coordinate */ - .location = 0, - .binding = 0, - .format = VK_FORMAT_R32G32_SFLOAT, - .offset = 0 - }, - }, + .vertexBindingDescriptionCount = 0, + .vertexAttributeDescriptionCount = 0, }; static VkFormat pipeline_formats[] = { |