vk/0.170.2: Rename cs to stage in ComputePipelineCreateInfo
This commit is contained in:
@@ -1714,7 +1714,7 @@ typedef struct {
|
||||
typedef struct {
|
||||
VkStructureType sType;
|
||||
const void* pNext;
|
||||
VkPipelineShaderStageCreateInfo cs;
|
||||
VkPipelineShaderStageCreateInfo stage;
|
||||
VkPipelineCreateFlags flags;
|
||||
VkPipelineLayout layout;
|
||||
VkPipeline basePipelineHandle;
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user