From: Jason Ekstrand Date: Tue, 6 Oct 2015 17:11:50 +0000 (-0700) Subject: vk/0.170.2: Rename cs to stage in ComputePipelineCreateInfo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc389b1482f2860b83d277cebca0c2058c403410;p=mesa.git vk/0.170.2: Rename cs to stage in ComputePipelineCreateInfo --- 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;