SPV: Don't support noise*() when generating SPV.
This commit is contained in:
@@ -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);"
|
||||
|
||||
Reference in New Issue
Block a user