shaderc icon indicating copy to clipboard operation
shaderc copied to clipboard

shaderc_includer_response blurb doesn't say how to signal includer errors

Open dekimir opened this issue 9 years ago • 1 comments

I may be missing something, but it's not clear to me how to construct a shaderc_includer_response when the path is incorrect or content-reading fails.

dekimir avatar Jan 27 '16 16:01 dekimir

It appears that the convention is to return "" for the full path (and error message for the content) when an error occurs. This should be mentioned in the blurb.

dekimir avatar Jan 27 '16 17:01 dekimir