mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 07:36:15 +00:00
Roll spirv-cross bd7c47a0 -> 3ab17000
This commit is contained in:
committed by
Corentin Wallez
parent
72725eebf9
commit
fbab31bada
@@ -1065,10 +1065,7 @@ namespace metal {
|
|||||||
compiler = new spirv_cross::CompilerMSL(builder->AcquireSpirv());
|
compiler = new spirv_cross::CompilerMSL(builder->AcquireSpirv());
|
||||||
ExtractSpirvInfo(*compiler);
|
ExtractSpirvInfo(*compiler);
|
||||||
|
|
||||||
spirv_cross::MSLConfiguration mslConfig;
|
std::string msl = compiler->compile();
|
||||||
mslConfig.flip_vert_y = false;
|
|
||||||
mslConfig.flip_frag_y = false;
|
|
||||||
std::string msl = compiler->compile(mslConfig);
|
|
||||||
|
|
||||||
NSString* mslSource = [NSString stringWithFormat:@"%s", msl.c_str()];
|
NSString* mslSource = [NSString stringWithFormat:@"%s", msl.c_str()];
|
||||||
NSError *error = nil;
|
NSError *error = nil;
|
||||||
|
|||||||
2
third_party/spirv-cross
vendored
2
third_party/spirv-cross
vendored
Submodule third_party/spirv-cross updated: bd7c47a071...3ab1700073
Reference in New Issue
Block a user