summaryrefslogtreecommitdiffstats
path: root/tools/render-test/render.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/render-test/render.h')
-rw-r--r--tools/render-test/render.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/render-test/render.h b/tools/render-test/render.h
index 174ba0b7b..5eb0c967d 100644
--- a/tools/render-test/render.h
+++ b/tools/render-test/render.h
@@ -16,7 +16,14 @@ struct ShaderCompileRequest
struct SourceInfo
{
char const* path;
- char const* text;
+
+ // The data may either be source text (in which
+ // case it can be assumed to be nul-terminated with
+ // `dataEnd` pointing at the terminator), or
+ // raw binary data (in which case `dataEnd` points
+ // at the end of the buffer).
+ char const* dataBegin;
+ char const* dataEnd;
};
struct EntryPoint