Remove GLSLANG_WEB and GLSLANG_WEB_DEVEL
This CL removes the GLSLANG_WEB and GLSLANG_WEB_DEVEL cmake build options and their usage in the codebase. Issue #2958
This commit is contained in:
parent
c8c669fc2a
commit
d291b15911
48 changed files with 49 additions and 1540 deletions
|
|
@ -42,7 +42,6 @@
|
|||
#include "glslang/MachineIndependent/iomapper.h"
|
||||
#include "glslang/MachineIndependent/reflection.h"
|
||||
|
||||
#ifndef GLSLANG_WEB
|
||||
namespace glslangtest {
|
||||
namespace {
|
||||
|
||||
|
|
@ -352,4 +351,3 @@ INSTANTIATE_TEST_SUITE_P(
|
|||
|
||||
} // anonymous namespace
|
||||
} // namespace glslangtest
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -75,10 +75,8 @@ TEST_P(LinkTestVulkan, FromFile)
|
|||
result.linkingOutput = program.getInfoLog();
|
||||
result.linkingError = program.getInfoDebugLog();
|
||||
|
||||
#if !defined(GLSLANG_WEB)
|
||||
if (success)
|
||||
program.mapIO();
|
||||
#endif
|
||||
if (success)
|
||||
program.mapIO();
|
||||
|
||||
if (success && (controls & EShMsgSpvRules)) {
|
||||
spv::SpvBuildLogger logger;
|
||||
|
|
|
|||
|
|
@ -254,10 +254,8 @@ public:
|
|||
glslang::TProgram program;
|
||||
program.addShader(&shader);
|
||||
success &= program.link(controls);
|
||||
#if !defined(GLSLANG_WEB)
|
||||
if (success)
|
||||
program.mapIO();
|
||||
#endif
|
||||
|
||||
if (success && (controls & EShMsgSpvRules)) {
|
||||
spv::SpvBuildLogger logger;
|
||||
|
|
@ -318,10 +316,8 @@ public:
|
|||
program.addShader(&shader);
|
||||
|
||||
success &= program.link(controls);
|
||||
#if !defined(GLSLANG_WEB)
|
||||
if (success)
|
||||
program.mapIO();
|
||||
#endif
|
||||
|
||||
spv::SpvBuildLogger logger;
|
||||
|
||||
|
|
@ -363,10 +359,8 @@ public:
|
|||
glslang::TProgram program;
|
||||
program.addShader(&shader);
|
||||
success &= program.link(controls);
|
||||
#if !defined(GLSLANG_WEB)
|
||||
if (success)
|
||||
program.mapIO();
|
||||
#endif
|
||||
|
||||
if (success && (controls & EShMsgSpvRules)) {
|
||||
spv::SpvBuildLogger logger;
|
||||
|
|
|
|||
|
|
@ -42,7 +42,6 @@
|
|||
#include "glslang/MachineIndependent/iomapper.h"
|
||||
#include "glslang/MachineIndependent/reflection.h"
|
||||
|
||||
#ifndef GLSLANG_WEB
|
||||
namespace glslangtest {
|
||||
namespace {
|
||||
|
||||
|
|
@ -303,4 +302,3 @@ INSTANTIATE_TEST_SUITE_P(
|
|||
|
||||
} // anonymous namespace
|
||||
} // namespace glslangtest
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue