Clay Shader Compiler is the SPIR-V generator used by GravityMark benchmark.
Fixes #7368.
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18894>
* a terminator instruction.
*
* See https://github.com/KhronosGroup/glslang/issues/3020 for details.
+ *
+ * Clay Shader Compiler (used by GravityMark) is also affected.
*/
b->wa_ignore_return_after_emit_mesh_tasks =
- is_glslang(b) && generator_version < 11;
+ (is_glslang(b) && generator_version < 11) ||
+ (b->generator_id == vtn_generator_clay_shader_compiler &&
+ generator_version < 18);
/* words[2] == generator magic */
unsigned value_id_bound = words[3];