mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 22:30:12 +01:00
vk/0.170.2: Rename cs to stage in ComputePipelineCreateInfo
This commit is contained in:
parent
588d40e97a
commit
cc389b1482
2 changed files with 2 additions and 2 deletions
|
|
@ -1714,7 +1714,7 @@ typedef struct {
|
||||||
typedef struct {
|
typedef struct {
|
||||||
VkStructureType sType;
|
VkStructureType sType;
|
||||||
const void* pNext;
|
const void* pNext;
|
||||||
VkPipelineShaderStageCreateInfo cs;
|
VkPipelineShaderStageCreateInfo stage;
|
||||||
VkPipelineCreateFlags flags;
|
VkPipelineCreateFlags flags;
|
||||||
VkPipelineLayout layout;
|
VkPipelineLayout layout;
|
||||||
VkPipeline basePipelineHandle;
|
VkPipeline basePipelineHandle;
|
||||||
|
|
|
||||||
|
|
@ -571,7 +571,7 @@ VkResult gen8_compute_pipeline_create(
|
||||||
memset(pipeline->shaders, 0, sizeof(pipeline->shaders));
|
memset(pipeline->shaders, 0, sizeof(pipeline->shaders));
|
||||||
|
|
||||||
pipeline->shaders[VK_SHADER_STAGE_COMPUTE] =
|
pipeline->shaders[VK_SHADER_STAGE_COMPUTE] =
|
||||||
anv_shader_from_handle(pCreateInfo->cs.shader);
|
anv_shader_from_handle(pCreateInfo->stage.shader);
|
||||||
|
|
||||||
pipeline->use_repclear = false;
|
pipeline->use_repclear = false;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue