Skip to content
Snippets Groups Projects
Commit 455c7cd7 authored by qining's avatar qining Committed by David Neto
Browse files

Fix output data alignment and avoid copy

Change the output data container of libshaderc compilation result from
std::string to std::vector<uint32_t> to guarantee the output data alignment.

Change the libshaderc_util::Compiler::Compile() signature and
implementation to avoid extra copies of SPIR-V binary. Also store the
string data of text output in vector<uint32_t>.
parent 877a4cd1
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment