Change GLSL->SPIR-V mapping of notEqual to OpFUnordNotEqual not OpFOrdNotEqual
authorPiers Daniell <pdaniell@nvidia.com>
Tue, 15 Jun 2021 03:33:35 +0000 (21:33 -0600)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 29 Jun 2021 06:59:43 +0000 (06:59 +0000)
commit4705f248d9155c7cc948460f7ab605b53f00e8fc
tree1e8754e018ca2a0275c61a7787ca66b3812bcdf7
parent7d65d88395bac1c9f73ef79ca4700f8f0ac8ce75
Change GLSL->SPIR-V mapping of notEqual to OpFUnordNotEqual not OpFOrdNotEqual

The glslang compiler was changed in https://github.com/KhronosGroup/glslang/pull/2260
to generate OpFUnordNotEqual rather than OpFOrdNotEqual for a!=b.

Without this change the
KHR-GL46.gl_spirv.spirv_glsl_to_spirv_builtin_functions_test
test generates an InternalError because it can't find the
expected mapping.

Affects:

KHR-GL46.gl_spirv.spirv_glsl_to_spirv_builtin_functions_test

Change-Id: Ieda8dc02c0be90a7985b15ca28dbefb1a45cc7c1
Components: OpenGL
external/openglcts/modules/gl/gl4cGlSpirvTests.cpp