vk/0.170.2: Rename cs to stage in ComputePipelineCreateInfo
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 6 Oct 2015 17:11:50 +0000 (10:11 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 6 Oct 2015 17:11:50 +0000 (10:11 -0700)
include/vulkan/vulkan.h
src/vulkan/gen8_pipeline.c

index bdd44a01073846f8bf343661ed8b497fe1fd0183..62fbe97c616f2505bef7c153998d105523e52843 100644 (file)
@@ -1714,7 +1714,7 @@ typedef struct {
 typedef struct {
     VkStructureType                             sType;
     const void*                                 pNext;
-    VkPipelineShaderStageCreateInfo             cs;
+    VkPipelineShaderStageCreateInfo             stage;
     VkPipelineCreateFlags                       flags;
     VkPipelineLayout                            layout;
     VkPipeline                                  basePipelineHandle;
index 4900715a47ab37c919858df0031b0c168e62d76c..0e2526fce20ade8c52105bd8bf520a7316b1d8a2 100644 (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;