Removed old comment.
This commit is contained in:
parent
f3ef23bda7
commit
76564a486e
@ -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
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user