mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-24 23:46:41 +00:00
Propagate pipeline shader stage create flags
This commit is contained in:
@@ -1158,6 +1158,7 @@ void VulkanCreationInfo::Pipeline::Init(VulkanResourceManager *resourceMan,
|
||||
shad.module = shadid;
|
||||
shad.entryPoint = pCreateInfo->pStages[i].pName;
|
||||
shad.stage = ShaderStage(stageIndex);
|
||||
shad.flags = pCreateInfo->pStages[i].flags;
|
||||
|
||||
ShaderModuleReflectionKey key(shad.stage, shad.entryPoint, ResourceId());
|
||||
|
||||
@@ -1784,6 +1785,7 @@ void VulkanCreationInfo::Pipeline::Init(VulkanResourceManager *resourceMan, Vulk
|
||||
shad.module = shadid;
|
||||
shad.entryPoint = pCreateInfo->stage.pName;
|
||||
shad.stage = ShaderStage::Compute;
|
||||
shad.flags = pCreateInfo->stage.flags;
|
||||
|
||||
ShaderModuleReflectionKey key(ShaderStage::Compute, shad.entryPoint, ResourceId());
|
||||
|
||||
|
||||
@@ -240,6 +240,8 @@ struct VulkanCreationInfo
|
||||
ShaderReflection *refl = NULL;
|
||||
SPIRVPatchData *patchData = NULL;
|
||||
|
||||
VkPipelineShaderStageCreateFlags flags;
|
||||
|
||||
rdcarray<SpecConstant> specialization;
|
||||
|
||||
// VkPipelineShaderStageRequiredSubgroupSizeCreateInfo
|
||||
|
||||
@@ -608,6 +608,7 @@ void VulkanShaderCache::MakeGraphicsPipelineInfo(VkGraphicsPipelineCreateInfo &p
|
||||
stages[stageCount].pName = pipeInfo.shaders[i].entryPoint.c_str();
|
||||
stages[stageCount].pNext = NULL;
|
||||
stages[stageCount].pSpecializationInfo = NULL;
|
||||
stages[stageCount].flags = pipeInfo.shaders[i].flags;
|
||||
|
||||
if(pipeInfo.shaders[i].requiredSubgroupSize != 0)
|
||||
{
|
||||
@@ -1081,7 +1082,7 @@ void VulkanShaderCache::MakeComputePipelineInfo(VkComputePipelineCreateInfo &pip
|
||||
stage.pName = pipeInfo.shaders[i].entryPoint.c_str();
|
||||
stage.pNext = NULL;
|
||||
stage.pSpecializationInfo = NULL;
|
||||
stage.flags = 0;
|
||||
stage.flags = pipeInfo.shaders[i].flags;
|
||||
|
||||
uint32_t dataOffset = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user