-
Notifications
You must be signed in to change notification settings - Fork 193
Conversation
438f3bc
to
33f2cd5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! I left a few minor comments.
Could you also add a test for this? So that we have this as part of our snapshots.
I've add some test and re-write the spv writer. the complex shader capture with compute shader: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
let mut w = Writer::new(options)?; | ||
w.write(module, info, pipeline_options, &mut words)?; | ||
|
||
if options.flags.contains(WriterFlags::DEBUG) {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wicast This empty if
looks like a bug
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make the spv with debug info mapping to wgsl
here is the capture file you can try
wgsl_debug_info.zip