summaryrefslogtreecommitdiff
path: root/tools/gfx/renderer-shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/renderer-shared.h')
-rw-r--r--tools/gfx/renderer-shared.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gfx/renderer-shared.h b/tools/gfx/renderer-shared.h
index eb3c7cad1..0d71059fc 100644
--- a/tools/gfx/renderer-shared.h
+++ b/tools/gfx/renderer-shared.h
@@ -1161,6 +1161,8 @@ public:
virtual SLANG_NO_THROW Result SLANG_MCALL finish() override { return SLANG_OK; }
};
+static const int kRayGenRecordSize = 64; // D3D12_RAYTRACING_SHADER_TABLE_BYTE_ALIGNMENT;
+
class ShaderTableBase
: public IShaderTable
, public Slang::ComObject