File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1705,7 +1705,8 @@ bool CommandBuffer::HasExternalFormatResolveAttachment() const {
1705
1705
}
1706
1706
1707
1707
void CommandBuffer::BindShader (VkShaderStageFlagBits shader_stage, vvl::ShaderObject *shader_object_state) {
1708
- auto &last_bound_state = lastBound[ConvertToPipelineBindPoint (shader_stage)];
1708
+ const VkPipelineBindPoint pipeline_bind_point = ConvertToPipelineBindPoint (shader_stage);
1709
+ auto &last_bound_state = lastBound[ConvertToLvlBindPoint (pipeline_bind_point)];
1709
1710
const auto stage_index = static_cast <uint32_t >(ConvertToShaderObjectStage (shader_stage));
1710
1711
last_bound_state.shader_object_bound [stage_index] = true ;
1711
1712
last_bound_state.shader_object_states [stage_index] = shader_object_state;
You can’t perform that action at this time.
0 commit comments