Move vector into the class member
This commit is contained in:
parent
5d7e126d52
commit
f47305c74d
@ -23,6 +23,8 @@ using namespace spv;
|
||||
using namespace spirv_cross;
|
||||
using namespace std;
|
||||
|
||||
static const std::vector<std::string> reserved_names = {"kernel", "bias"};
|
||||
|
||||
CompilerMSL::CompilerMSL(vector<uint32_t> spirv_)
|
||||
: CompilerGLSL(move(spirv_))
|
||||
{
|
||||
|
@ -168,7 +168,6 @@ protected:
|
||||
std::string stage_out_var_name = "out";
|
||||
std::string stage_uniform_var_name = "uniforms";
|
||||
std::string sampler_name_suffix = "Smplr";
|
||||
std::vector<std::string> reserved_names = { "kernel", "bias" };
|
||||
|
||||
// Extracts a set of opcodes that should be implemented as a bespoke custom function
|
||||
// whose full source code is output as part of the shader source code.
|
||||
|
Loading…
Reference in New Issue
Block a user