Removed old comment.

This commit is contained in:
John Mitchell 2020-08-14 16:59:18 -04:00
parent f3ef23bda7
commit 76564a486e
2 changed files with 1 additions and 2 deletions

View File

@ -30,7 +30,6 @@ impl PipelineLayout {
.find(|binding| binding.index == shader_binding.index)
{
binding.shader_stage |= shader_binding.shader_stage;
// Not sure we need to panic anymore here..
if binding.bind_type != shader_binding.bind_type
|| binding.name != shader_binding.name
|| binding.index != shader_binding.index

View File

@ -205,7 +205,7 @@ fn reflect_binding(binding: &ReflectDescriptorBinding, shader_stage: ReflectShad
ReflectShaderStageFlags::COMPUTE => BindingShaderStage::COMPUTE,
ReflectShaderStageFlags::VERTEX => BindingShaderStage::VERTEX,
ReflectShaderStageFlags::FRAGMENT => BindingShaderStage::FRAGMENT,
_ => panic!("Only one specified shader stage is support.")
_ => panic!("Only one specified shader stage is supported.")
};
BindingDescriptor {