SPV: Don't support noise*() when generating SPV.
This commit is contained in:
parent
af52799c2d
commit
2edde6665d
6 changed files with 32 additions and 8 deletions
|
|
@ -1384,7 +1384,7 @@ void TBuiltIns::initialize(int version, EProfile profile, const SpvVersion& spvV
|
|||
//
|
||||
// Noise functions.
|
||||
//
|
||||
if (profile != EEsProfile) {
|
||||
if (spvVersion.spv == 0 && profile != EEsProfile) {
|
||||
commonBuiltins.append(
|
||||
"float noise1(float x);"
|
||||
"float noise1(vec2 x);"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue