aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml1
-rw-r--r--.gitlab-ci/deqp-virgl-fails.txt428
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_init.c6
3 files changed, 4 insertions, 431 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 68db1eb5e9f..385e623bcae 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -838,6 +838,7 @@ virgl-gles31:
DEQP_RUNNER_OPTIONS: "--timeout 120"
MESA_GLES_VERSION_OVERRIDE: "3.1"
MESA_GLSL_VERSION_OVERRIDE: "310"
+ MESA_EXTENSION_OVERRIDE: "-GL_OES_tessellation_shader"
extends: virgl-gles2
# Rules for tests that should not be present in MRs or the main
diff --git a/.gitlab-ci/deqp-virgl-fails.txt b/.gitlab-ci/deqp-virgl-fails.txt
index 79fe3896bbb..32e0481d640 100644
--- a/.gitlab-ci/deqp-virgl-fails.txt
+++ b/.gitlab-ci/deqp-virgl-fails.txt
@@ -55,55 +55,6 @@ dEQP-GLES3.functional.vertex_arrays.single_attribute.output_types.unsigned_int.c
dEQP-GLES3.functional.vertex_arrays.single_attribute.output_types.unsigned_int.components2_vec4_quads256
dEQP-GLES3.functional.vertex_arrays.single_attribute.output_types.unsigned_int.components4_vec2_quads1
dEQP-GLES3.functional.vertex_arrays.single_attribute.output_types.unsigned_int.components4_vec4_quads1
-dEQP-GLES31.functional.atomic_counter.dec.1_counter_100_calls_1_thread
-dEQP-GLES31.functional.atomic_counter.dec.8_counters_5_calls_1_thread
-dEQP-GLES31.functional.atomic_counter.dec_branch.4_counters_1_call_10_threads
-dEQP-GLES31.functional.atomic_counter.get.1_counter_100_calls_1_thread
-dEQP-GLES31.functional.atomic_counter.get.8_counters_5_calls_1_thread
-dEQP-GLES31.functional.atomic_counter.get_branch.4_counters_1_call_10_threads
-dEQP-GLES31.functional.atomic_counter.get_dec.1_counter_100_calls_1_thread
-dEQP-GLES31.functional.atomic_counter.get_dec.8_counters_5_calls_1_thread
-dEQP-GLES31.functional.atomic_counter.get_dec_branch.4_counters_1_call_10_threads
-dEQP-GLES31.functional.atomic_counter.get_inc.1_counter_1_call_1_thread
-dEQP-GLES31.functional.atomic_counter.get_inc.4_counters_5_calls_10_threads
-dEQP-GLES31.functional.atomic_counter.get_inc_branch.1_counter_1_call_5000_threads
-dEQP-GLES31.functional.atomic_counter.get_inc_branch.8_counters_1_call_10_threads
-dEQP-GLES31.functional.atomic_counter.get_inc_dec.1_counter_100_calls_1_thread
-dEQP-GLES31.functional.atomic_counter.get_inc_dec.8_counters_5_calls_1_thread
-dEQP-GLES31.functional.atomic_counter.get_inc_dec_branch.4_counters_1_call_10_threads
-dEQP-GLES31.functional.atomic_counter.inc.1_counter_1_call_1_thread
-dEQP-GLES31.functional.atomic_counter.inc.4_counters_5_calls_10_threads
-dEQP-GLES31.functional.atomic_counter.inc_branch.1_counter_1_call_5000_threads
-dEQP-GLES31.functional.atomic_counter.inc_branch.8_counters_1_call_10_threads
-dEQP-GLES31.functional.atomic_counter.inc_dec.1_counter_1_call_1_thread
-dEQP-GLES31.functional.atomic_counter.inc_dec.4_counters_5_calls_10_threads
-dEQP-GLES31.functional.atomic_counter.inc_dec_branch.1_counter_1_call_5000_threads
-dEQP-GLES31.functional.atomic_counter.inc_dec_branch.8_counters_1_call_10_threads
-dEQP-GLES31.functional.atomic_counter.layout.default_offset_set.get_dec.8_counters_5_calls_1_thread
-dEQP-GLES31.functional.atomic_counter.layout.first_offset_set.inc_dec.8_counters_1_call_1_thread
-dEQP-GLES31.functional.atomic_counter.layout.reset_default_offset.get_dec.8_counters_1_call_1_thread
-dEQP-GLES31.functional.atomic_counter.layout.reverse_offset.get_inc.8_counters_1_call_1_thread
-dEQP-GLES31.functional.atomic_counter.layout.reverse_offset.inc_dec.8_counters_5_calls_1_thread
-dEQP-GLES31.functional.compute.basic.copy_ssbo_to_image_small
-dEQP-GLES31.functional.compute.basic.shared_var_single_invocation
-dEQP-GLES31.functional.compute.basic.ssbo_unsized_arr_multiple_groups
-dEQP-GLES31.functional.compute.basic.ubo_to_ssbo_single_invocation
-dEQP-GLES31.functional.compute.indirect_dispatch.gen_in_compute.large_offset_multiple_invocations
-dEQP-GLES31.functional.compute.indirect_dispatch.upload_buffer.large_offset
-dEQP-GLES31.functional.compute.shared_var.atomic.add.mediump_uint
-dEQP-GLES31.functional.compute.shared_var.atomic.and.highp_uint
-dEQP-GLES31.functional.compute.shared_var.atomic.compswap.lowp_uint
-dEQP-GLES31.functional.compute.shared_var.atomic.max.lowp_uint
-dEQP-GLES31.functional.compute.shared_var.atomic.xor.mediump_uint
-dEQP-GLES31.functional.compute.shared_var.basic_type.float_lowp
-dEQP-GLES31.functional.compute.shared_var.basic_type.int_mediump
-dEQP-GLES31.functional.compute.shared_var.basic_type.ivec4_highp
-dEQP-GLES31.functional.compute.shared_var.basic_type.mat2x4_highp
-dEQP-GLES31.functional.compute.shared_var.basic_type.mat4x2_lowp
-dEQP-GLES31.functional.compute.shared_var.basic_type.uvec4_lowp
-dEQP-GLES31.functional.compute.shared_var.basic_type.vec4_mediump
-dEQP-GLES31.functional.compute.shared_var.work_group_size.float_1_1_64
-dEQP-GLES31.functional.compute.shared_var.work_group_size.vec4_13_2_4
dEQP-GLES31.functional.copy_image.mixed.viewclass_128_bits_mixed.rgba32f_rgba_astc_10x10_khr.texture3d_to_texture2d_array
dEQP-GLES31.functional.copy_image.mixed.viewclass_128_bits_mixed.rgba32f_rgba_astc_10x5_khr.texture2d_to_texture2d_array
dEQP-GLES31.functional.copy_image.mixed.viewclass_128_bits_mixed.rgba32f_rgba_astc_10x6_khr.cubemap_to_texture2d_array
@@ -161,78 +112,10 @@ dEQP-GLES31.functional.copy_image.mixed.viewclass_128_bits_mixed.srgb8_alpha8_as
dEQP-GLES31.functional.copy_image.mixed.viewclass_128_bits_mixed.srgb8_alpha8_astc_8x6_khr_rgba32f.texture2d_to_texture2d_array
dEQP-GLES31.functional.copy_image.mixed.viewclass_128_bits_mixed.srgb8_alpha8_astc_8x8_khr_rgba32f.cubemap_to_texture2d_array
dEQP-GLES31.functional.copy_image.mixed.viewclass_128_bits_mixed.srgb8_alpha8_astc_8x8_khr_rgba32f.texture2d_to_texture3d
-dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawarrays_combined_grid_200x200_drawcount_8
-dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawarrays_separate_grid_200x200_drawcount_800
-dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawelements_combined_grid_1000x1000_drawcount_5000
-dEQP-GLES31.functional.draw_indirect.compute_interop.large.drawelements_separate_grid_200x200_drawcount_1
-dEQP-GLES31.functional.draw_indirect.compute_interop.separate.drawelements_compute_data_and_indices
dEQP-GLES31.functional.fbo.no_attachments.interaction.127x127ms0_default_129x129ms0
dEQP-GLES31.functional.fbo.no_attachments.npot_size.15x511
dEQP-GLES31.functional.fbo.no_attachments.npot_size.65x65
dEQP-GLES31.functional.fbo.no_attachments.random.0
-dEQP-GLES31.functional.image_load_store.2d.atomic.comp_swap_r32ui_result
-dEQP-GLES31.functional.image_load_store.2d.atomic.max_r32ui_result
-dEQP-GLES31.functional.image_load_store.2d.atomic.or_r32i_return_value
-dEQP-GLES31.functional.image_load_store.2d.format_reinterpret.r32f_r32i
-dEQP-GLES31.functional.image_load_store.2d.format_reinterpret.r32i_rgba8ui
-dEQP-GLES31.functional.image_load_store.2d.format_reinterpret.rgba32i_rgba32ui
-dEQP-GLES31.functional.image_load_store.2d.format_reinterpret.rgba8_rgba8_snorm
-dEQP-GLES31.functional.image_load_store.2d.format_reinterpret.rgba8ui_r32i
-dEQP-GLES31.functional.image_load_store.2d.image_size.readonly_7x1
-dEQP-GLES31.functional.image_load_store.2d.load_store.rgba8i
-dEQP-GLES31.functional.image_load_store.2d.qualifiers.coherent_r32i
-dEQP-GLES31.functional.image_load_store.2d.store.r32f
-dEQP-GLES31.functional.image_load_store.2d.store.rgba8_snorm
-dEQP-GLES31.functional.image_load_store.2d_array.atomic.exchange_r32ui_return_value
-dEQP-GLES31.functional.image_load_store.2d_array.atomic.min_r32ui_return_value
-dEQP-GLES31.functional.image_load_store.2d_array.atomic.or_r32i_result
-dEQP-GLES31.functional.image_load_store.2d_array.format_reinterpret.r32f_rgba8i
-dEQP-GLES31.functional.image_load_store.2d_array.format_reinterpret.r32i_r32f
-dEQP-GLES31.functional.image_load_store.2d_array.format_reinterpret.rgba32i_rgba32f
-dEQP-GLES31.functional.image_load_store.2d_array.format_reinterpret.rgba8_r32i
-dEQP-GLES31.functional.image_load_store.2d_array.format_reinterpret.rgba8ui_rgba8i
-dEQP-GLES31.functional.image_load_store.2d_array.image_size.readonly_1x1x1
-dEQP-GLES31.functional.image_load_store.2d_array.load_store.r32i_single_layer
-dEQP-GLES31.functional.image_load_store.2d_array.load_store.rgba32f_single_layer
-dEQP-GLES31.functional.image_load_store.2d_array.load_store.rgba8ui_single_layer
-dEQP-GLES31.functional.image_load_store.2d_array.qualifiers.volatile_r32ui
-dEQP-GLES31.functional.image_load_store.2d_array.store.rgba16i_single_layer
-dEQP-GLES31.functional.image_load_store.2d_array.store.rgba32ui_single_layer
-dEQP-GLES31.functional.image_load_store.3d.atomic.add_r32ui_result
-dEQP-GLES31.functional.image_load_store.3d.atomic.max_r32i_return_value
-dEQP-GLES31.functional.image_load_store.3d.atomic.xor_r32ui_result
-dEQP-GLES31.functional.image_load_store.3d.format_reinterpret.r32ui_r32i
-dEQP-GLES31.functional.image_load_store.3d.format_reinterpret.rgba16f_rgba16i
-dEQP-GLES31.functional.image_load_store.3d.format_reinterpret.rgba16ui_rgba16i
-dEQP-GLES31.functional.image_load_store.3d.format_reinterpret.rgba8_rgba8ui
-dEQP-GLES31.functional.image_load_store.3d.format_reinterpret.rgba8_snorm_rgba8
-dEQP-GLES31.functional.image_load_store.3d.format_reinterpret.rgba8i_r32i
-dEQP-GLES31.functional.image_load_store.3d.image_size.readonly_writeonly_12x34x56
-dEQP-GLES31.functional.image_load_store.3d.load_store.rgba16ui
-dEQP-GLES31.functional.image_load_store.3d.load_store.rgba8i
-dEQP-GLES31.functional.image_load_store.3d.qualifiers.coherent_r32f
-dEQP-GLES31.functional.image_load_store.3d.store.r32f
-dEQP-GLES31.functional.image_load_store.3d.store.rgba32i
-dEQP-GLES31.functional.image_load_store.3d.store.rgba8_snorm
-dEQP-GLES31.functional.image_load_store.cube.atomic.and_r32ui_return_value
-dEQP-GLES31.functional.image_load_store.cube.atomic.exchange_r32i_result
-dEQP-GLES31.functional.image_load_store.cube.atomic.min_r32i_result
-dEQP-GLES31.functional.image_load_store.cube.format_reinterpret.r32i_rgba8
-dEQP-GLES31.functional.image_load_store.cube.format_reinterpret.r32ui_r32f
-dEQP-GLES31.functional.image_load_store.cube.format_reinterpret.rgba32f_rgba32ui
-dEQP-GLES31.functional.image_load_store.cube.format_reinterpret.rgba32ui_rgba32f
-dEQP-GLES31.functional.image_load_store.cube.format_reinterpret.rgba8_snorm_r32ui
-dEQP-GLES31.functional.image_load_store.cube.format_reinterpret.rgba8i_r32f
-dEQP-GLES31.functional.image_load_store.cube.image_size.writeonly_1x1
-dEQP-GLES31.functional.image_load_store.cube.load_store.r32f_single_layer
-dEQP-GLES31.functional.image_load_store.cube.load_store.rgba32i_single_layer
-dEQP-GLES31.functional.image_load_store.cube.load_store.rgba8_snorm_single_layer
-dEQP-GLES31.functional.image_load_store.cube.store.r32i_single_layer
-dEQP-GLES31.functional.image_load_store.cube.store.rgba32f_single_layer
-dEQP-GLES31.functional.image_load_store.cube.store.rgba8ui_single_layer
-dEQP-GLES31.functional.shaders.builtin_constants.core.max_combined_image_uniforms
-dEQP-GLES31.functional.shaders.builtin_constants.core.max_draw_buffers
-dEQP-GLES31.functional.shaders.builtin_constants.core.max_vertex_atomic_counter_buffers
dEQP-GLES31.functional.shaders.builtin_constants.tessellation_shader.max_tess_control_total_output_components
dEQP-GLES31.functional.shaders.builtin_constants.tessellation_shader.max_tess_evaluation_uniform_components
dEQP-GLES31.functional.shaders.builtin_functions.common.abs.int_highp_tess_eval
@@ -314,339 +197,28 @@ dEQP-GLES31.functional.shaders.builtin_functions.integer.usubborrow.uvec2_medium
dEQP-GLES31.functional.shaders.builtin_functions.integer.usubborrow.uvec4_lowp_tess_eval
dEQP-GLES31.functional.shaders.builtin_functions.pack_unpack.packsnorm4x8_mediump_tess_eval
dEQP-GLES31.functional.shaders.builtin_functions.pack_unpack.packunorm4x8_highp_tess_eval
-dEQP-GLES31.functional.shaders.builtin_functions.precision.abs.lowp_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.acos.lowp_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.acosh.lowp_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.add.highp_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.add.lowp_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.asin.lowp_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.asinh.mediump_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.atan2.lowp_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.atanh.mediump_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.ceil.highp_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.ceil.lowp_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.clamp.mediump_compute.vec2
-dEQP-GLES31.functional.shaders.builtin_functions.precision.cos.mediump_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.cosh.highp_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.degrees.highp_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.degrees.lowp_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.distance.lowp_compute.vec4
-dEQP-GLES31.functional.shaders.builtin_functions.precision.div.mediump_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.dot.highp_compute.vec4
-dEQP-GLES31.functional.shaders.builtin_functions.precision.dot.lowp_compute.vec2
-dEQP-GLES31.functional.shaders.builtin_functions.precision.exp.mediump_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.exp2.highp_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.exp2.lowp_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.faceforward.mediump_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.floor.highp_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.fract.highp_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.frexp.lowp_compute.vec4
-dEQP-GLES31.functional.shaders.builtin_functions.precision.frexp.mediump_compute.vec2
-dEQP-GLES31.functional.shaders.builtin_functions.precision.inversesqrt.mediump_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.ldexp.highp_compute.vec4
-dEQP-GLES31.functional.shaders.builtin_functions.precision.length.mediump_compute.vec2
-dEQP-GLES31.functional.shaders.builtin_functions.precision.log.lowp_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.log2.highp_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.matrixcompmult.highp_compute.mat2
-dEQP-GLES31.functional.shaders.builtin_functions.precision.matrixcompmult.lowp_compute.mat4
-dEQP-GLES31.functional.shaders.builtin_functions.precision.max.lowp_compute.vec4
-dEQP-GLES31.functional.shaders.builtin_functions.precision.min.lowp_compute.vec2
-dEQP-GLES31.functional.shaders.builtin_functions.precision.mix.mediump_compute.vec4
-dEQP-GLES31.functional.shaders.builtin_functions.precision.mod.mediump_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.mul.mediump_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.normalize.mediump_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.outerproduct.highp_compute.mat3x2
-dEQP-GLES31.functional.shaders.builtin_functions.precision.outerproduct.lowp_compute.mat2x3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.outerproduct.mediump_compute.mat2x4
-dEQP-GLES31.functional.shaders.builtin_functions.precision.pow.mediump_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.radians.lowp_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.reflect.lowp_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.refract.highp_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.refract.lowp_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.round.mediump_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.roundeven.lowp_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.sign.highp_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.sign.lowp_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.sin.highp_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.sinh.highp_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.sinh.lowp_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.smoothstep.lowp_compute.vec4
-dEQP-GLES31.functional.shaders.builtin_functions.precision.sqrt.mediump_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.step.mediump_compute.vec2
-dEQP-GLES31.functional.shaders.builtin_functions.precision.sub.highp_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.tan.mediump_compute.scalar
-dEQP-GLES31.functional.shaders.builtin_functions.precision.tanh.mediump_compute.vec3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.transpose.highp_compute.mat4x2
-dEQP-GLES31.functional.shaders.builtin_functions.precision.transpose.lowp_compute.mat3
-dEQP-GLES31.functional.shaders.builtin_functions.precision.transpose.mediump_compute.mat3x4
-dEQP-GLES31.functional.shaders.builtin_functions.precision.trunc.mediump_compute.vec3
dEQP-GLES31.functional.shaders.builtin_functions.uniform.findLSBMinusOne.mediump_tess_eval
dEQP-GLES31.functional.shaders.builtin_functions.uniform.findMSBMinusOne.highp_tess_eval
dEQP-GLES31.functional.shaders.builtin_functions.uniform.findMSBZero.lowp_tess_eval
-dEQP-GLES31.functional.shaders.builtin_var.compute.global_invocation_id
dEQP-GLES31.functional.shaders.linkage.es31.tessellation.uniform.types.int
dEQP-GLES31.functional.shaders.linkage.es31.tessellation.uniform.types.vec4
dEQP-GLES31.functional.shaders.linkage.es31.tessellation.varying.rules.internal_superfluous_declaration
dEQP-GLES31.functional.shaders.linkage.es31.tessellation.varying.types.ivec2
dEQP-GLES31.functional.shaders.linkage.es31.tessellation.varying.types.mat2
dEQP-GLES31.functional.shaders.opaque_type_indexing.atomic_counter.const_literal_tessellation_evaluation
-dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.const_expression.compute.samplercubeshadow
dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.const_expression.tessellation_control.isampler2d
dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.const_expression.tessellation_evaluation.isamplercube
-dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.const_literal.compute.isampler2darray
dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.const_literal.tessellation_control.samplercube
dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.const_literal.tessellation_control.usampler2d
dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.const_literal.tessellation_evaluation.sampler2darray
dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.const_literal.tessellation_evaluation.usamplercube
dEQP-GLES31.functional.shaders.opaque_type_indexing.ubo.const_expression_tessellation_evaluation
-dEQP-GLES31.functional.ssbo.array_length.unsized_writeonly_array
-dEQP-GLES31.functional.ssbo.atomic.add.mediump_uint
-dEQP-GLES31.functional.ssbo.atomic.and.highp_uint
-dEQP-GLES31.functional.ssbo.atomic.compswap.lowp_uint
-dEQP-GLES31.functional.ssbo.atomic.max.lowp_uint
-dEQP-GLES31.functional.ssbo.atomic.xor.mediump_uint
-dEQP-GLES31.functional.ssbo.layout.2_level_array.packed.column_major_mat2
-dEQP-GLES31.functional.ssbo.layout.2_level_array.packed.mat2x4
-dEQP-GLES31.functional.ssbo.layout.2_level_array.packed.row_major_mat4x2
-dEQP-GLES31.functional.ssbo.layout.2_level_array.packed.uint
-dEQP-GLES31.functional.ssbo.layout.2_level_array.shared.column_major_mat3
-dEQP-GLES31.functional.ssbo.layout.2_level_array.shared.mat3x2
-dEQP-GLES31.functional.ssbo.layout.2_level_array.shared.row_major_mat4x3
-dEQP-GLES31.functional.ssbo.layout.2_level_array.shared.uvec4
-dEQP-GLES31.functional.ssbo.layout.2_level_array.shared.vec2
-dEQP-GLES31.functional.ssbo.layout.2_level_array.std140.bvec4
-dEQP-GLES31.functional.ssbo.layout.2_level_array.std140.ivec2
-dEQP-GLES31.functional.ssbo.layout.2_level_array.std140.mat2x3
-dEQP-GLES31.functional.ssbo.layout.2_level_array.std140.row_major_mat3x4
-dEQP-GLES31.functional.ssbo.layout.2_level_array.std430.bool
-dEQP-GLES31.functional.ssbo.layout.2_level_array.std430.column_major_mat4x3
-dEQP-GLES31.functional.ssbo.layout.2_level_array.std430.mat4
-dEQP-GLES31.functional.ssbo.layout.2_level_array.std430.row_major_mat3x2
-dEQP-GLES31.functional.ssbo.layout.2_level_array.std430.vec3
-dEQP-GLES31.functional.ssbo.layout.2_level_unsized_struct_array.per_block_buffer.std140_instance_array
-dEQP-GLES31.functional.ssbo.layout.3_level_array.packed.column_major_mat3x4
-dEQP-GLES31.functional.ssbo.layout.3_level_array.packed.ivec3
-dEQP-GLES31.functional.ssbo.layout.3_level_array.packed.mat2
-dEQP-GLES31.functional.ssbo.layout.3_level_array.packed.row_major_mat2x3
-dEQP-GLES31.functional.ssbo.layout.3_level_array.shared.column_major_mat4x2
-dEQP-GLES31.functional.ssbo.layout.3_level_array.shared.mat3
-dEQP-GLES31.functional.ssbo.layout.3_level_array.shared.row_major_mat2x4
-dEQP-GLES31.functional.ssbo.layout.3_level_array.shared.uvec2
-dEQP-GLES31.functional.ssbo.layout.3_level_array.std140.bvec2
-dEQP-GLES31.functional.ssbo.layout.3_level_array.std140.column_major_mat3x2
-dEQP-GLES31.functional.ssbo.layout.3_level_array.std140.row_major_mat4
-dEQP-GLES31.functional.ssbo.layout.3_level_array.std140.vec4
-dEQP-GLES31.functional.ssbo.layout.3_level_array.std430.column_major_mat2x4
-dEQP-GLES31.functional.ssbo.layout.3_level_array.std430.float
-dEQP-GLES31.functional.ssbo.layout.3_level_array.std430.mat4x3
-dEQP-GLES31.functional.ssbo.layout.3_level_array.std430.row_major_mat3
-dEQP-GLES31.functional.ssbo.layout.3_level_array.std430.uvec3
-dEQP-GLES31.functional.ssbo.layout.3_level_unsized_array.packed.bvec3
-dEQP-GLES31.functional.ssbo.layout.3_level_unsized_array.packed.column_major_mat4
-dEQP-GLES31.functional.ssbo.layout.3_level_unsized_array.packed.int
-dEQP-GLES31.functional.ssbo.layout.3_level_unsized_array.packed.mat3x4
-dEQP-GLES31.functional.ssbo.layout.3_level_unsized_array.shared.column_major_mat2x3
-dEQP-GLES31.functional.ssbo.layout.3_level_unsized_array.shared.ivec4
-dEQP-GLES31.functional.ssbo.layout.3_level_unsized_array.shared.mat4x2
-dEQP-GLES31.functional.ssbo.layout.3_level_unsized_array.shared.row_major_mat2
-dEQP-GLES31.functional.ssbo.layout.3_level_unsized_array.std140.column_major_mat3
-dEQP-GLES31.functional.ssbo.layout.3_level_unsized_array.std140.mat3x2
-dEQP-GLES31.functional.ssbo.layout.3_level_unsized_array.std140.row_major_mat4x3
-dEQP-GLES31.functional.ssbo.layout.3_level_unsized_array.std140.uvec4
-dEQP-GLES31.functional.ssbo.layout.3_level_unsized_array.std140.vec2
-dEQP-GLES31.functional.ssbo.layout.3_level_unsized_array.std430.column_major_mat2
-dEQP-GLES31.functional.ssbo.layout.3_level_unsized_array.std430.mat2x4
-dEQP-GLES31.functional.ssbo.layout.3_level_unsized_array.std430.row_major_mat4x2
-dEQP-GLES31.functional.ssbo.layout.3_level_unsized_array.std430.uint
-dEQP-GLES31.functional.ssbo.layout.basic_unsized_array.packed.column_major_mat2x4
-dEQP-GLES31.functional.ssbo.layout.basic_unsized_array.packed.float
-dEQP-GLES31.functional.ssbo.layout.basic_unsized_array.packed.mat4x3
-dEQP-GLES31.functional.ssbo.layout.basic_unsized_array.packed.row_major_mat3
-dEQP-GLES31.functional.ssbo.layout.basic_unsized_array.packed.uvec3
-dEQP-GLES31.functional.ssbo.layout.basic_unsized_array.shared.bvec2
-dEQP-GLES31.functional.ssbo.layout.basic_unsized_array.shared.column_major_mat3x2
-dEQP-GLES31.functional.ssbo.layout.basic_unsized_array.shared.row_major_mat4
-dEQP-GLES31.functional.ssbo.layout.basic_unsized_array.shared.vec4
-dEQP-GLES31.functional.ssbo.layout.basic_unsized_array.std140.column_major_mat2x3
-dEQP-GLES31.functional.ssbo.layout.basic_unsized_array.std140.ivec4
-dEQP-GLES31.functional.ssbo.layout.basic_unsized_array.std140.mat4x2
-dEQP-GLES31.functional.ssbo.layout.basic_unsized_array.std140.row_major_mat2
-dEQP-GLES31.functional.ssbo.layout.basic_unsized_array.std430.bvec3
-dEQP-GLES31.functional.ssbo.layout.basic_unsized_array.std430.column_major_mat4
-dEQP-GLES31.functional.ssbo.layout.basic_unsized_array.std430.int
-dEQP-GLES31.functional.ssbo.layout.basic_unsized_array.std430.mat3x4
-dEQP-GLES31.functional.ssbo.layout.instance_array_basic_type.packed.column_major_mat2
-dEQP-GLES31.functional.ssbo.layout.instance_array_basic_type.packed.mat2x4
-dEQP-GLES31.functional.ssbo.layout.instance_array_basic_type.packed.row_major_mat4x2
-dEQP-GLES31.functional.ssbo.layout.instance_array_basic_type.packed.uint
-dEQP-GLES31.functional.ssbo.layout.instance_array_basic_type.shared.column_major_mat3
-dEQP-GLES31.functional.ssbo.layout.instance_array_basic_type.shared.mat3x2
-dEQP-GLES31.functional.ssbo.layout.instance_array_basic_type.shared.row_major_mat4x3
-dEQP-GLES31.functional.ssbo.layout.instance_array_basic_type.shared.uvec4
-dEQP-GLES31.functional.ssbo.layout.instance_array_basic_type.shared.vec2
-dEQP-GLES31.functional.ssbo.layout.instance_array_basic_type.std140.bvec4
-dEQP-GLES31.functional.ssbo.layout.instance_array_basic_type.std140.ivec2
-dEQP-GLES31.functional.ssbo.layout.instance_array_basic_type.std140.mat2x3
-dEQP-GLES31.functional.ssbo.layout.instance_array_basic_type.std140.row_major_mat3x4
-dEQP-GLES31.functional.ssbo.layout.instance_array_basic_type.std430.bool
-dEQP-GLES31.functional.ssbo.layout.instance_array_basic_type.std430.column_major_mat4x3
-dEQP-GLES31.functional.ssbo.layout.instance_array_basic_type.std430.mat4
-dEQP-GLES31.functional.ssbo.layout.instance_array_basic_type.std430.row_major_mat3x2
-dEQP-GLES31.functional.ssbo.layout.instance_array_basic_type.std430.vec3
-dEQP-GLES31.functional.ssbo.layout.multi_basic_types.single_buffer.shared_instance_array
-dEQP-GLES31.functional.ssbo.layout.multi_nested_struct.per_block_buffer.packed_instance_array
-dEQP-GLES31.functional.ssbo.layout.multi_nested_struct.single_buffer.std140_instance_array
-dEQP-GLES31.functional.ssbo.layout.random.all_per_block_buffers.12
-dEQP-GLES31.functional.ssbo.layout.random.all_per_block_buffers.2
-dEQP-GLES31.functional.ssbo.layout.random.all_per_block_buffers.22
-dEQP-GLES31.functional.ssbo.layout.random.all_per_block_buffers.32
-dEQP-GLES31.functional.ssbo.layout.random.all_per_block_buffers.42
-dEQP-GLES31.functional.ssbo.layout.random.all_shared_buffer.12
-dEQP-GLES31.functional.ssbo.layout.random.all_shared_buffer.2
-dEQP-GLES31.functional.ssbo.layout.random.all_shared_buffer.22
-dEQP-GLES31.functional.ssbo.layout.random.all_shared_buffer.32
-dEQP-GLES31.functional.ssbo.layout.random.all_shared_buffer.42
-dEQP-GLES31.functional.ssbo.layout.random.arrays_of_arrays.12
-dEQP-GLES31.functional.ssbo.layout.random.arrays_of_arrays.2
-dEQP-GLES31.functional.ssbo.layout.random.arrays_of_arrays.22
-dEQP-GLES31.functional.ssbo.layout.random.basic_arrays.12
-dEQP-GLES31.functional.ssbo.layout.random.basic_arrays.2
-dEQP-GLES31.functional.ssbo.layout.random.basic_arrays.22
-dEQP-GLES31.functional.ssbo.layout.random.basic_instance_arrays.17
-dEQP-GLES31.functional.ssbo.layout.random.basic_instance_arrays.7
-dEQP-GLES31.functional.ssbo.layout.random.basic_types.17
-dEQP-GLES31.functional.ssbo.layout.random.basic_types.7
-dEQP-GLES31.functional.ssbo.layout.random.nested_structs.12
-dEQP-GLES31.functional.ssbo.layout.random.nested_structs.2
-dEQP-GLES31.functional.ssbo.layout.random.nested_structs.22
-dEQP-GLES31.functional.ssbo.layout.random.nested_structs_arrays.17
-dEQP-GLES31.functional.ssbo.layout.random.nested_structs_arrays.7
-dEQP-GLES31.functional.ssbo.layout.random.nested_structs_arrays_instance_arrays.17
-dEQP-GLES31.functional.ssbo.layout.random.nested_structs_arrays_instance_arrays.7
-dEQP-GLES31.functional.ssbo.layout.random.nested_structs_instance_arrays.12
-dEQP-GLES31.functional.ssbo.layout.random.nested_structs_instance_arrays.2
-dEQP-GLES31.functional.ssbo.layout.random.nested_structs_instance_arrays.22
-dEQP-GLES31.functional.ssbo.layout.random.scalar_types.17
-dEQP-GLES31.functional.ssbo.layout.random.scalar_types.7
-dEQP-GLES31.functional.ssbo.layout.random.unsized_arrays.17
-dEQP-GLES31.functional.ssbo.layout.random.unsized_arrays.7
-dEQP-GLES31.functional.ssbo.layout.random.vector_types.12
-dEQP-GLES31.functional.ssbo.layout.random.vector_types.2
-dEQP-GLES31.functional.ssbo.layout.random.vector_types.22
-dEQP-GLES31.functional.ssbo.layout.single_basic_array.packed.bool
-dEQP-GLES31.functional.ssbo.layout.single_basic_array.packed.column_major_mat4x3
-dEQP-GLES31.functional.ssbo.layout.single_basic_array.packed.mat4
-dEQP-GLES31.functional.ssbo.layout.single_basic_array.packed.row_major_mat3x2
-dEQP-GLES31.functional.ssbo.layout.single_basic_array.packed.vec3
-dEQP-GLES31.functional.ssbo.layout.single_basic_array.shared.bvec4
-dEQP-GLES31.functional.ssbo.layout.single_basic_array.shared.ivec2
-dEQP-GLES31.functional.ssbo.layout.single_basic_array.shared.mat2x3
-dEQP-GLES31.functional.ssbo.layout.single_basic_array.shared.row_major_mat3x4
-dEQP-GLES31.functional.ssbo.layout.single_basic_array.std140.column_major_mat4x2
-dEQP-GLES31.functional.ssbo.layout.single_basic_array.std140.mat3
-dEQP-GLES31.functional.ssbo.layout.single_basic_array.std140.row_major_mat2x4
-dEQP-GLES31.functional.ssbo.layout.single_basic_array.std140.uvec2
-dEQP-GLES31.functional.ssbo.layout.single_basic_array.std430.column_major_mat3x4
-dEQP-GLES31.functional.ssbo.layout.single_basic_array.std430.ivec3
-dEQP-GLES31.functional.ssbo.layout.single_basic_array.std430.mat2
-dEQP-GLES31.functional.ssbo.layout.single_basic_array.std430.row_major_mat2x3
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.packed.bvec3
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.packed.column_major_highp_mat2
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.packed.column_major_lowp_mat4x3
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.packed.highp_mat2x4
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.packed.highp_vec3
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.packed.lowp_ivec3
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.packed.lowp_mat4
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.packed.mediump_mat2x3
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.packed.mediump_uvec2
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.packed.row_major_highp_mat4x2
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.packed.row_major_lowp_mat3x2
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.packed.row_major_mediump_mat3x4
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.shared.bvec4
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.shared.column_major_lowp_mat4x2
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.shared.column_major_mediump_mat4x3
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.shared.highp_mat2x3
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.shared.highp_uvec2
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.shared.lowp_mat3
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.shared.lowp_vec4
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.shared.mediump_ivec3
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.shared.mediump_mat4
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.shared.row_major_highp_mat3x4
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.shared.row_major_lowp_mat2x4
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.shared.row_major_mediump_mat3x2
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std140.bvec2
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std140.column_major_highp_mat3
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std140.column_major_mediump_mat2
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std140.highp_ivec2
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std140.highp_mat3x2
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std140.lowp_mat2x3
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std140.lowp_uvec2
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std140.mediump_mat2x4
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std140.mediump_vec3
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std140.row_major_highp_mat4x3
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std140.row_major_lowp_mat3x4
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std140.row_major_mediump_mat4x2
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std430.bool
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std430.column_major_highp_mat4
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std430.column_major_lowp_mat2
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std430.column_major_mediump_mat3
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std430.highp_mat3x4
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std430.highp_uint
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std430.lowp_mat2x4
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std430.lowp_vec3
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std430.mediump_ivec2
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std430.mediump_mat3x2
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std430.row_major_lowp_mat4x2
-dEQP-GLES31.functional.ssbo.layout.single_basic_type.std430.row_major_mediump_mat4x3
-dEQP-GLES31.functional.ssbo.layout.single_nested_struct.per_block_buffer.shared_instance_array
-dEQP-GLES31.functional.ssbo.layout.single_nested_struct.single_buffer.std430_instance_array
-dEQP-GLES31.functional.ssbo.layout.single_nested_struct_array.single_buffer.packed_instance_array
-dEQP-GLES31.functional.ssbo.layout.single_struct.per_block_buffer.std140_instance_array
-dEQP-GLES31.functional.ssbo.layout.single_struct_array.per_block_buffer.packed_instance_array
-dEQP-GLES31.functional.ssbo.layout.unsized_nested_struct_array.per_block_buffer.packed_instance_array
-dEQP-GLES31.functional.ssbo.layout.unsized_struct_array.per_block_buffer.std430_instance_array
-dEQP-GLES31.functional.synchronization.in_invocation.image_atomic_read_write
-dEQP-GLES31.functional.synchronization.in_invocation.ssbo_atomic_read_write
-dEQP-GLES31.functional.synchronization.inter_call.with_memory_barrier.image_multiple_unrelated_write_read_non_ordered
-dEQP-GLES31.functional.synchronization.inter_call.with_memory_barrier.ssbo_atomic_multiple_unrelated_write_read_ordered
-dEQP-GLES31.functional.synchronization.inter_call.with_memory_barrier.ssbo_overwrite
-dEQP-GLES31.functional.synchronization.inter_call.without_memory_barrier.atomic_counter_dispatch_2_calls_32_invocations
-dEQP-GLES31.functional.synchronization.inter_call.without_memory_barrier.ssbo_atomic_counter_mixed_dispatch_5_calls_32_invocations
-dEQP-GLES31.functional.synchronization.inter_call.without_memory_barrier.ssbo_atomic_dispatch_100_calls_32k_invocations
dEQP-GLES31.functional.synchronization.inter_invocation.image_atomic_read_write
dEQP-GLES31.functional.synchronization.inter_invocation.ssbo_atomic_read_write
dEQP-GLES31.functional.tessellation.common_edge.quads_fractional_odd_spacing
-dEQP-GLES31.functional.tessellation.invariance.one_minus_tess_coord_component.isolines_fractional_odd_spacing_ccw
-dEQP-GLES31.functional.tessellation.invariance.one_minus_tess_coord_component.quads_fractional_odd_spacing_cw
-dEQP-GLES31.functional.tessellation.invariance.one_minus_tess_coord_component.triangles_fractional_even_spacing_ccw
-dEQP-GLES31.functional.tessellation.invariance.outer_edge_index_independence.quads_fractional_odd_spacing_ccw
-dEQP-GLES31.functional.tessellation.invariance.outer_edge_index_independence.triangles_fractional_odd_spacing_cw
-dEQP-GLES31.functional.tessellation.invariance.outer_edge_symmetry.isolines_fractional_even_spacing_ccw
-dEQP-GLES31.functional.tessellation.invariance.outer_edge_symmetry.quads_equal_spacing_ccw
-dEQP-GLES31.functional.tessellation.invariance.outer_edge_symmetry.quads_fractional_even_spacing_cw
-dEQP-GLES31.functional.tessellation.invariance.outer_edge_symmetry.triangles_equal_spacing_cw
-dEQP-GLES31.functional.tessellation.invariance.outer_triangle_set.triangles_equal_spacing
-dEQP-GLES31.functional.tessellation.invariance.primitive_set.isolines_equal_spacing_ccw
-dEQP-GLES31.functional.tessellation.invariance.primitive_set.isolines_fractional_even_spacing_cw
-dEQP-GLES31.functional.tessellation.invariance.primitive_set.quads_equal_spacing_cw
-dEQP-GLES31.functional.tessellation.invariance.primitive_set.triangles_fractional_odd_spacing_ccw
-dEQP-GLES31.functional.tessellation.invariance.tess_coord_component_range.isolines_equal_spacing_ccw
-dEQP-GLES31.functional.tessellation.invariance.tess_coord_component_range.isolines_fractional_even_spacing_cw
-dEQP-GLES31.functional.tessellation.invariance.tess_coord_component_range.quads_equal_spacing_cw
-dEQP-GLES31.functional.tessellation.invariance.tess_coord_component_range.triangles_fractional_odd_spacing_ccw
-dEQP-GLES31.functional.tessellation.invariance.triangle_set.triangles_fractional_even_spacing
dEQP-GLES31.functional.tessellation.misc_draw.fill_overlap_quads_equal_spacing
-dEQP-GLES31.functional.tessellation.primitive_discard.isolines_fractional_odd_spacing_cw
-dEQP-GLES31.functional.tessellation.primitive_discard.quads_fractional_even_spacing_ccw
-dEQP-GLES31.functional.tessellation.primitive_discard.triangles_equal_spacing_ccw
-dEQP-GLES31.functional.tessellation.primitive_discard.triangles_fractional_even_spacing_cw
dEQP-GLES31.functional.tessellation.shader_input_output.barrier
dEQP-GLES31.functional.tessellation.shader_input_output.patch_vertices_in_tes
-dEQP-GLES31.functional.tessellation.tesscoord.isolines_fractional_even_spacing
-dEQP-GLES31.functional.tessellation.user_defined_io.per_patch.vertex_io_array_size_implicit.isolines
-dEQP-GLES31.functional.tessellation.user_defined_io.per_patch_array.vertex_io_array_size_shader_builtin.triangles
-dEQP-GLES31.functional.tessellation.user_defined_io.per_patch_block.vertex_io_array_size_shader_builtin.quads
-dEQP-GLES31.functional.tessellation.user_defined_io.per_patch_block_array.vertex_io_array_size_shader_builtin.isolines
dEQP-GLES31.functional.tessellation.user_defined_io.per_vertex.vertex_io_array_size_query.quads_explicit_tcs_out_size
dEQP-GLES31.functional.tessellation.user_defined_io.per_vertex.vertex_io_array_size_shader_builtin.triangles
dEQP-GLES31.functional.tessellation.user_defined_io.per_vertex_block.vertex_io_array_size_shader_builtin.isolines
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.c b/src/gallium/auxiliary/gallivm/lp_bld_init.c
index fd5a35114f4..e3fd26cd2ec 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_init.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_init.c
@@ -172,9 +172,6 @@ create_pass_manager(struct gallivm_state *gallivm)
LLVMAddConstantPropagationPass(gallivm->passmgr);
LLVMAddInstructionCombiningPass(gallivm->passmgr);
LLVMAddGVNPass(gallivm->passmgr);
-#if GALLIVM_HAVE_CORO
- LLVMAddCoroCleanupPass(gallivm->passmgr);
-#endif
}
else {
/* We need at least this pass to prevent the backends to fail in
@@ -182,6 +179,9 @@ create_pass_manager(struct gallivm_state *gallivm)
*/
LLVMAddPromoteMemoryToRegisterPass(gallivm->passmgr);
}
+#if GALLIVM_HAVE_CORO
+ LLVMAddCoroCleanupPass(gallivm->passmgr);
+#endif
return TRUE;
}