vkd3d-shader: Add missing stage conversion for RT.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
This commit is contained in:
Hans-Kristian Arntzen 2021-03-11 13:10:24 +01:00
parent 4f2776ff93
commit c5c45b851f
1 changed files with 2 additions and 0 deletions

View File

@ -1115,6 +1115,8 @@ static VkShaderStageFlagBits convert_stage(dxil_spv_shader_stage stage)
return VK_SHADER_STAGE_CALLABLE_BIT_KHR;
case DXIL_SPV_STAGE_INTERSECTION:
return VK_SHADER_STAGE_INTERSECTION_BIT_KHR;
case DXIL_SPV_STAGE_ANY_HIT:
return VK_SHADER_STAGE_ANY_HIT_BIT_KHR;
default:
return VK_SHADER_STAGE_ALL;
}