Adjusted namespaces in shaders project

このコミットが含まれているのは:
Sergio Pedri committed 2019-08-12 02:37:33 +02:00
1 親 031dd213b4
コミット e381de2c7c
17ファイル変更
+31 -35

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

+1 -1
ファイルの表示
@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Diagnostics.Contracts;
using Microsoft.CodeAnalysis;
namespace DirectX12GameEngine.Shaders.Mappings
namespace ComputeSharp.Shaders.Mappings
{
/// <summary>
/// A <see langword="class"/> that contains and maps known HLSL method names to common .NET method
+1 -2
ファイルの表示
@@ -3,9 +3,8 @@ using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Numerics;
using System.Text.RegularExpressions;
using DirectX12GameEngine.Shaders.Primitives;
namespace DirectX12GameEngine.Shaders.Mappings
namespace ComputeSharp.Shaders.Mappings
{
/// <summary>
/// A <see langword="class"/> that contains and maps known HLSL type names to common .NET types
+1 -1
ファイルの表示
@@ -12,7 +12,7 @@ using ICSharpCode.Decompiler.Metadata;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
namespace DirectX12GameEngine.Shaders
namespace ComputeSharp.Shaders
{
/// <summary>
/// A <see langword="class"/> that is able to decompile arbitrary methods
+1 -1
ファイルの表示
@@ -1,4 +1,4 @@
namespace DirectX12GameEngine.Shaders.Primitives
namespace ComputeSharp
{
/// <summary>
/// A <see langword="struct"/> that indicates the ids of a given GPU thread running a compute shader
+1 -1
ファイルの表示
@@ -1,4 +1,4 @@
namespace DirectX12GameEngine.Shaders.Renderer.Models.Abstract
namespace ComputeSharp.Shaders.Renderer.Models.Fields.Abstract
{
/// <summary>
/// A <see langword="class"/> that contains info on a shader field
+2 -2
ファイルの表示
@@ -1,6 +1,6 @@
using DirectX12GameEngine.Shaders.Renderer.Models.Abstract;
using ComputeSharp.Shaders.Renderer.Models.Fields.Abstract;
namespace DirectX12GameEngine.Shaders.Renderer.Models.Fields
namespace ComputeSharp.Shaders.Renderer.Models.Fields
{
/// <summary>
/// A <see langword="class"/> that contains info on a constant buffer field
+2 -2
ファイルの表示
@@ -1,6 +1,6 @@
using DirectX12GameEngine.Shaders.Renderer.Models.Abstract;
using ComputeSharp.Shaders.Renderer.Models.Fields.Abstract;
namespace DirectX12GameEngine.Shaders.Renderer.Models.Fields
namespace ComputeSharp.Shaders.Renderer.Models.Fields
{
/// <summary>
/// A <see langword="class"/> that contains info on a read write buffer field
+2 -2
ファイルの表示
@@ -1,6 +1,6 @@
using DirectX12GameEngine.Shaders.Renderer.Models.Abstract;
using ComputeSharp.Shaders.Renderer.Models.Fields.Abstract;
namespace DirectX12GameEngine.Shaders.Renderer.Models.Fields
namespace ComputeSharp.Shaders.Renderer.Models.Fields
{
/// <summary>
/// A <see langword="class"/> that contains info on a static scalar field
+2 -2
ファイルの表示
@@ -1,9 +1,9 @@
using System.Collections.Generic;
using DirectX12GameEngine.Shaders.Renderer.Models.Abstract;
using ComputeSharp.Shaders.Renderer.Models.Fields.Abstract;
#pragma warning disable CS8618 // Non-nullable field is uninitialized
namespace DirectX12GameEngine.Shaders.Renderer.Models
namespace ComputeSharp.Shaders.Renderer.Models
{
/// <summary>
/// A <see langword="class"/> that contains info to render a shader source to compile
+2 -2
ファイルの表示
@@ -2,9 +2,9 @@
using System.Diagnostics.Contracts;
using System.IO;
using System.Reflection;
using DirectX12GameEngine.Shaders.Renderer.Models;
using ComputeSharp.Shaders.Renderer.Models;
namespace DirectX12GameEngine.Shaders.Renderer
namespace ComputeSharp.Shaders.Renderer
{
/// <summary>
/// A <see langword="class"/> that uses the mustache templating system to render HLSL shaders
+1 -1
ファイルの表示
@@ -3,7 +3,7 @@ using System.Diagnostics.Contracts;
using DotNetDxc;
using SharpDX.Direct3D12;
namespace DirectX12GameEngine.Shaders
namespace ComputeSharp.Shaders
{
/// <summary>
/// A <see langword="class"/> that uses the <see cref="HlslDxcLib"/> APIs to compile compute shaders
+4 -5
ファイルの表示
@@ -5,17 +5,16 @@ using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using ComputeSharp.Graphics.Buffers.Abstract;
using DirectX12GameEngine.Shaders.Mappings;
using DirectX12GameEngine.Shaders.Primitives;
using DirectX12GameEngine.Shaders.Renderer.Models.Abstract;
using DirectX12GameEngine.Shaders.Renderer.Models.Fields;
using ComputeSharp.Shaders.Mappings;
using ComputeSharp.Shaders.Renderer.Models.Fields;
using ComputeSharp.Shaders.Renderer.Models.Fields.Abstract;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using SharpDX.Direct3D12;
#pragma warning disable CS8618 // Non-nullable field is uninitialized
namespace DirectX12GameEngine.Shaders
namespace ComputeSharp.Shaders
{
/// <summary>
/// A <see langword="class"/> responsible for loading and processing <see cref="Action{T}"/> instances
+1 -3
ファイルの表示
@@ -1,9 +1,7 @@
using System;
using System.Numerics;
using ComputeSharp.Graphics.Buffers;
using Buffer = System.Buffer;
namespace DirectX12GameEngine.Shaders
namespace ComputeSharp.Shaders
{
public abstract class ShaderResource
{
+1 -1
ファイルの表示
@@ -4,7 +4,7 @@ using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace DirectX12GameEngine.Shaders
namespace ComputeSharp.Shaders
{
public class ShaderSyntaxRewriter : CSharpSyntaxRewriter
{
+2 -2
ファイルの表示
@@ -1,10 +1,10 @@
using System.Linq;
using DirectX12GameEngine.Shaders.Mappings;
using ComputeSharp.Shaders.Mappings;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace DirectX12GameEngine.Shaders
namespace ComputeSharp.Shaders
{
public static class SyntaxNodeExtensions
{
+4 -4
ファイルの表示
@@ -1,10 +1,10 @@
using System;
using System.Linq;
using ComputeSharp;
using ComputeSharp.Graphics;
using DirectX12GameEngine.Shaders;
using DirectX12GameEngine.Shaders.Primitives;
using DirectX12GameEngine.Shaders.Renderer;
using DirectX12GameEngine.Shaders.Renderer.Models;
using ComputeSharp.Shaders;
using ComputeSharp.Shaders.Renderer;
using ComputeSharp.Shaders.Renderer.Models;
using SharpDX.Direct3D12;
using CommandList = ComputeSharp.Graphics.CommandList;
using PipelineState = ComputeSharp.Graphics.PipelineState;
+3 -3
ファイルの表示
@@ -1,8 +1,8 @@
using DirectX12GameEngine.Shaders;
using System;
using System;
using System.Linq;
using ComputeSharp;
using ComputeSharp.Graphics.Buffers;
using DirectX12GameEngine.Shaders.Primitives;
using ComputeSharp.Shaders;
using Buffer = ComputeSharp.Graphics.Buffers.Buffer;
namespace DirectX12ComputeShaderSample