summaryrefslogtreecommitdiff
path: root/tools/gfx/cpu/cpu-base.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/cpu/cpu-base.h')
-rw-r--r--tools/gfx/cpu/cpu-base.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/tools/gfx/cpu/cpu-base.h b/tools/gfx/cpu/cpu-base.h
new file mode 100644
index 000000000..4629686b7
--- /dev/null
+++ b/tools/gfx/cpu/cpu-base.h
@@ -0,0 +1,42 @@
+// cpu-base.h
+// Shared header file for CPU implementation
+#pragma once
+
+#include <chrono>
+
+#include "slang.h"
+#include "slang-com-ptr.h"
+#include "slang-com-helper.h"
+#include "core/slang-basic.h"
+#include "core/slang-blob.h"
+
+#include "../immediate-renderer-base.h"
+#include "../slang-context.h"
+#include "../mutable-shader-object.h"
+#define SLANG_PRELUDE_NAMESPACE slang_prelude
+#include "prelude/slang-cpp-types.h"
+
+namespace gfx
+{
+using namespace Slang;
+
+namespace cpu
+{
+ class BufferResourceImpl;
+ class TextureResourceImpl;
+ class ResourceViewImpl;
+ class BufferResourceViewImpl;
+ class TextureResourceViewImpl;
+ class ShaderObjectLayoutImpl;
+ class EntryPointLayoutImpl;
+ class RootShaderObjectLayoutImpl;
+ class ShaderObjectImpl;
+ class MutableShaderObjectImpl;
+ class EntryPointShaderObjectImpl;
+ class RootShaderObjectImpl;
+ class ShaderProgramImpl;
+ class PipelineStateImpl;
+ class QueryPoolImpl;
+ class DeviceImpl;
+} // namespace cpu
+} // namespace gfx