Minor bug fixes

このコミットが含まれているのは:
Sergio Pedri committed 2019-08-25 23:04:46 +02:00
1 親 bbb7d3cd6e
コミット bcdc6f33cb
3ファイル変更
+16 -16

検索条件に一致するファイルはありません

+7 -7
ファイルの表示
@@ -33,7 +33,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
/// <summary>
/// Gets or sets the value of the first color component
/// </summary>
public float R
public int R
{
get => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(R)}");
set => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(R)}");
@@ -42,7 +42,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
/// <summary>
/// Gets or sets the value of the second color component
/// </summary>
public float G
public int G
{
get => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(G)}");
set => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(G)}");
@@ -52,7 +52,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
/// Gets or sets a specific component in the current <see cref="Int2"/> instance
/// </summary>
/// <param name="i">The index of the component to access</param>
public float this[int i]
public int this[int i]
{
get => throw new InvalidExecutionContextException($"{nameof(Int2)}[int]");
set => throw new InvalidExecutionContextException($"{nameof(Int2)}[int]");
@@ -64,7 +64,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
public Int2 XX => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(XX)}");
/// <summary>
/// Gets or sets an <see cref="Int3"/> value with the <see cref="X"/> and <see cref="Y"/> values
/// Gets or sets an <see cref="Int2"/> value with the <see cref="X"/> and <see cref="Y"/> values
/// </summary>
public Int2 XY
{
@@ -73,7 +73,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
}
/// <summary>
/// Gets an <see cref="Int3"/> value with the <see cref="Y"/> and <see cref="X"/> values
/// Gets an <see cref="Int2"/> value with the <see cref="Y"/> and <see cref="X"/> values
/// </summary>
public Int2 YX
{
@@ -92,7 +92,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
public Int2 RR => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RR)}");
/// <summary>
/// Gets or sets an <see cref="Int3"/> value with the <see cref="R"/> and <see cref="G"/> values
/// Gets or sets an <see cref="Int2"/> value with the <see cref="R"/> and <see cref="G"/> values
/// </summary>
public Int2 RG
{
@@ -101,7 +101,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
}
/// <summary>
/// Gets an <see cref="Int3"/> value with the <see cref="G"/> and <see cref="R"/> values
/// Gets an <see cref="Int2"/> value with the <see cref="G"/> and <see cref="R"/> values
/// </summary>
public Int2 GR
{
+4 -4
ファイルの表示
@@ -40,7 +40,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
/// <summary>
/// Gets or sets the value of the first color component
/// </summary>
public float R
public int R
{
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(R)}");
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(R)}");
@@ -49,7 +49,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
/// <summary>
/// Gets or sets the value of the second color component
/// </summary>
public float G
public int G
{
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(G)}");
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(G)}");
@@ -58,7 +58,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
/// <summary>
/// Gets or sets the value of the third color component
/// </summary>
public float B
public int B
{
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(B)}");
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(B)}");
@@ -68,7 +68,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
/// Gets or sets a specific component in the current <see cref="Int3"/> instance
/// </summary>
/// <param name="i">The index of the component to access</param>
public float this[int i]
public int this[int i]
{
get => throw new InvalidExecutionContextException($"{nameof(Int3)}[int]");
set => throw new InvalidExecutionContextException($"{nameof(Int3)}[int]");
+5 -5
ファイルの表示
@@ -47,7 +47,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
/// <summary>
/// Gets or sets the value of the first color component
/// </summary>
public float R
public int R
{
get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(R)}");
set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(R)}");
@@ -56,7 +56,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
/// <summary>
/// Gets or sets the value of the second color component
/// </summary>
public float G
public int G
{
get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(G)}");
set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(G)}");
@@ -65,7 +65,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
/// <summary>
/// Gets or sets the value of the third color component
/// </summary>
public float B
public int B
{
get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(B)}");
set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(B)}");
@@ -74,7 +74,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
/// <summary>
/// Gets or sets the value of the fourth color component
/// </summary>
public float A
public int A
{
get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(A)}");
set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(A)}");
@@ -84,7 +84,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
/// Gets or sets a specific component in the current <see cref="Int4"/> instance
/// </summary>
/// <param name="i">The index of the component to access</param>
public float this[int i]
public int this[int i]
{
get => throw new InvalidExecutionContextException($"{nameof(Int4)}[int]");
set => throw new InvalidExecutionContextException($"{nameof(Int4)}[int]");