Skip to content

Commit

Permalink
Merge pull request veldrid#4 from smoogipoo/fix-metal-bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy authored Aug 23, 2023
2 parents 3ca5718 + 3f6bee2 commit e24108e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libveldrid-spirv/libveldrid-spirv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ Compiler *GetCompiler(std::vector<uint32_t> spirvBytes, const CrossCompileInfo &
{
auto ret = new CompilerMSL(spirvBytes);
CompilerMSL::Options opts = {};
opts.enable_decoration_binding = true;
ret->set_msl_options(opts);
CompilerGLSL::Options commonOpts;
commonOpts.vertex.flip_vert_y = info.InvertY;
Expand Down

0 comments on commit e24108e

Please sign in to comment.