Skip to content

Commit 9a478fd

Browse files
committed
Updated SPIRV-Cross to avoid needing warning guards.
Removed -Wconversion warning guards when including SPIRV-Cross headers as the upstream issue has been fixed.
1 parent c39548e commit 9a478fd

File tree

3 files changed

+1
-21
lines changed

3 files changed

+1
-21
lines changed

Compile/src/GlslOutput.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,8 @@
1616

1717
#include "GlslOutput.h"
1818
#include <MSL/Compile/Output.h>
19-
20-
#if MSL_GCC || MSL_CLANG
21-
#pragma GCC diagnostic push
22-
#pragma GCC diagnostic ignored "-Wconversion"
23-
#endif
24-
2519
#include "spirv_glsl.hpp"
2620

27-
#if MSL_GCC || MSL_CLANG
28-
#pragma GCC diagnostic pop
29-
#endif
30-
3121
namespace msl
3222
{
3323

Compile/src/MetalOutput.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,8 @@
1616

1717
#include "MetalOutput.h"
1818
#include <MSL/Compile/Output.h>
19-
20-
#if MSL_GCC || MSL_CLANG
21-
#pragma GCC diagnostic push
22-
#pragma GCC diagnostic ignored "-Wconversion"
23-
#endif
24-
2519
#include "spirv_msl.hpp"
2620

27-
#if MSL_GCC || MSL_CLANG
28-
#pragma GCC diagnostic pop
29-
#endif
30-
3121
namespace msl
3222
{
3323

0 commit comments

Comments
 (0)