Adjusted namespaces in shaders project
このコミットが含まれているのは:
1 親
031dd213b4
コミット
e381de2c7c
17ファイル変更
+31
-35
検索条件に一致するファイルはありません
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,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,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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする