You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the environment is not specified in the SPIR-V then it is determined as follows:
If any of the following conditions are true then the flags NSZ, NotInf, and NotNaN are assumed:
The entry point does not use the Execution Mode SignedZeroInfNanPreserve with a bit-width corresponding to one of the operands or to the result type.
If I understand correctly, I should use execution mode SignedZeroInfNanPreserve if I want to disable the NotNaN flag. Therefore, I want to use spirv intrinsic in glsl. But it looks cannot work.
According to vulkan spec 1.3.296:
If I understand correctly, I should use execution mode SignedZeroInfNanPreserve if I want to disable the
NotNaN
flag. Therefore, I want to use spirv intrinsic in glsl. But it looks cannot work.For example,
Either glslc or glslangValidator, compiler generates spv file. But when I disassemble the file, get a error:
The text was updated successfully, but these errors were encountered: