summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-10-06 10:11:50 -0700
committerJason Ekstrand <[email protected]>2015-10-06 10:11:50 -0700
commitcc389b1482f2860b83d277cebca0c2058c403410 (patch)
tree0f3426e7541d547d920a286458ae78baf259eb42
parent588d40e97a9f4870fab59ab2e04d661945c3c2e1 (diff)
vk/0.170.2: Rename cs to stage in ComputePipelineCreateInfo
-rw-r--r--include/vulkan/vulkan.h2
-rw-r--r--src/vulkan/gen8_pipeline.c2
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;