summaryrefslogtreecommitdiff
path: root/slang-gfx.h
diff options
context:
space:
mode:
authorskallweitNV <64953474+skallweitNV@users.noreply.github.com>2024-05-28 02:05:12 +0200
committerGitHub <noreply@github.com>2024-05-27 17:05:12 -0700
commiteefdd4ab99fa99ed326b68cd2b0d4024347ed8fc (patch)
tree22fdde5317e337ea5307c3487038a5191db9b0f3 /slang-gfx.h
parentd9443d670ef8413971fe7c3f02368b60a7fc5904 (diff)
add support for callable shaders in gfx (#3460)
Co-authored-by: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'slang-gfx.h')
-rw-r--r--slang-gfx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/slang-gfx.h b/slang-gfx.h
index 5856c70b4..61c5f2ef3 100644
--- a/slang-gfx.h
+++ b/slang-gfx.h
@@ -1410,6 +1410,10 @@ public:
const char** hitGroupNames;
const ShaderRecordOverwrite* hitGroupRecordOverwrites;
+ GfxCount callableShaderCount;
+ const char** callableShaderEntryPointNames;
+ const ShaderRecordOverwrite* callableShaderRecordOverwrites;
+
IShaderProgram* program;
};
};