/// <summary> /// Element-wise equality. /// </summary> /// <param name="other">The instance to compare to.</param> /// <returns>True if all elements and all array elements are equal; false otherswise.</returns> public bool Equals(ComputePipelineDescription other) { return(ComputeShader.Equals(other.ComputeShader) && Util.ArrayEquals(ResourceLayouts, other.ResourceLayouts) && ThreadGroupSizeX.Equals(other.ThreadGroupSizeX) && ThreadGroupSizeY.Equals(other.ThreadGroupSizeY) && ThreadGroupSizeZ.Equals(other.ThreadGroupSizeZ)); }
/// <summary> /// Element-wise equality. /// </summary> /// <param name="other">The instance to compare to.</param> /// <returns>True if all elements and all array elements are equal; false otherswise.</returns> public bool Equals(ComputePipelineDescription other) { return(ComputeShader.Equals(other.ComputeShader) && Util.ArrayEquals(ResourceLayouts, other.ResourceLayouts)); }
public bool Equals(ShaderStageDescription other) { return(Stage == other.Stage && Shader.Equals(other.Shader) && EntryPoint.Equals(other.EntryPoint)); }