Skip to content

Commit 42b0ef1

Browse files
arcady-lunargjeremy-lunarg
authored andcommitted
Add missing preamble #define for GL_EXT_nontemporal_keyword
1 parent 2e7feec commit 42b0ef1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

glslang/MachineIndependent/Versions.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,11 @@ void TParseVersions::getPreamble(std::string& preamble)
663663
}
664664
}
665665

666+
if ((!isEsProfile() && version >= 460) ||
667+
(isEsProfile() && version >= 320)) {
668+
preamble += "#define GL_EXT_nontemporal_keyword 1\n";
669+
}
670+
666671
if ((!isEsProfile() && version >= 140) ||
667672
(isEsProfile() && version >= 310)) {
668673
preamble +=

0 commit comments

Comments
 (0)