vk: remove duplicate condition in pipeline_props struct equal operator
This commit is contained in:
@@ -40,9 +40,6 @@ namespace vk
|
|||||||
if (memcmp(&state.ds, &other.state.ds, sizeof(VkPipelineDepthStencilStateCreateInfo)))
|
if (memcmp(&state.ds, &other.state.ds, sizeof(VkPipelineDepthStencilStateCreateInfo)))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (num_targets != other.num_targets)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
return num_targets == other.num_targets;
|
return num_targets == other.num_targets;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user