Ejemplo n.º 1
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(
                ComputeShader.GetHashCode(),
                HashHelper.Array(ResourceLayouts),
                ThreadGroupSizeX.GetHashCode(),
                ThreadGroupSizeY.GetHashCode(),
                ThreadGroupSizeZ.GetHashCode()));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
 public override int GetHashCode()
 {
     return(HashHelper.Combine(ComputeShader.GetHashCode(), HashHelper.Array(ResourceLayouts)));
 }
Ejemplo n.º 3
0
 public override int GetHashCode()
 {
     return(HashHelper.Combine(Stage.GetHashCode(), Shader.GetHashCode(), EntryPoint.GetHashCode()));
 }