vk/0.170.2: Rename cs to stage in ComputePipelineCreateInfo

This commit is contained in:
Jason Ekstrand
2015-10-06 10:11:50 -07:00
parent 588d40e97a
commit cc389b1482
2 changed files with 2 additions and 2 deletions

View File

@@ -1714,7 +1714,7 @@ typedef struct {
typedef struct {
VkStructureType sType;
const void* pNext;
VkPipelineShaderStageCreateInfo cs;
VkPipelineShaderStageCreateInfo stage;
VkPipelineCreateFlags flags;
VkPipelineLayout layout;
VkPipeline basePipelineHandle;

View File

@@ -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;