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:
dan sinclair 2023-07-28 13:49:10 -04:00 committed by GitHub
parent c8c669fc2a
commit d291b15911
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
48 changed files with 49 additions and 1540 deletions

View file

@ -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

View file

@ -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;

View file

@ -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;

View file

@ -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