From cc389b1482f2860b83d277cebca0c2058c403410 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 6 Oct 2015 10:11:50 -0700 Subject: [PATCH] vk/0.170.2: Rename cs to stage in ComputePipelineCreateInfo --- include/vulkan/vulkan.h | 2 +- src/vulkan/gen8_pipeline.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index bdd44a01073..62fbe97c616 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -1714,7 +1714,7 @@ typedef struct { typedef struct { VkStructureType sType; const void* pNext; - VkPipelineShaderStageCreateInfo cs; + VkPipelineShaderStageCreateInfo stage; VkPipelineCreateFlags flags; VkPipelineLayout layout; VkPipeline basePipelineHandle; diff --git a/src/vulkan/gen8_pipeline.c b/src/vulkan/gen8_pipeline.c index 4900715a47a..0e2526fce20 100644 --- a/src/vulkan/gen8_pipeline.c +++ b/src/vulkan/gen8_pipeline.c @@ -571,7 +571,7 @@ VkResult gen8_compute_pipeline_create( memset(pipeline->shaders, 0, sizeof(pipeline->shaders)); pipeline->shaders[VK_SHADER_STAGE_COMPUTE] = - anv_shader_from_handle(pCreateInfo->cs.shader); + anv_shader_from_handle(pCreateInfo->stage.shader); pipeline->use_repclear = false; -- 2.30.2