Skip to content

Commit 822dbe3

Browse files
Clarify the ShaderModuleDesc::data field
1 parent ceafe47 commit 822dbe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lvk/LVK.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ struct ColorAttachment {
621621
struct ShaderModuleDesc {
622622
ShaderStage stage = Stage_Frag;
623623
const char* data = nullptr;
624-
size_t dataSize = 0; // if `dataSize` is non-zero, interpret `data` as binary shader data
624+
size_t dataSize = 0; // if `dataSize` is non-zero, interpret `data` as binary SPIR-V shader data
625625
const char* debugName = "";
626626

627627
ShaderModuleDesc(const char* source, lvk::ShaderStage stage, const char* debugName) : stage(stage), data(source), debugName(debugName) {}

0 commit comments

Comments
 (0)