diff --git a/src/gallium/drivers/softpipe/ci/softpipe-fails.txt b/src/gallium/drivers/softpipe/ci/softpipe-fails.txt index 12e4b4bf403..2d5e6036a27 100644 --- a/src/gallium/drivers/softpipe/ci/softpipe-fails.txt +++ b/src/gallium/drivers/softpipe/ci/softpipe-fails.txt @@ -461,8 +461,6 @@ dEQP-GLES3.functional.texture.wrap.astc_8x8.repeat_repeat_linear_divisible,Fail dEQP-GLES3.functional.texture.wrap.astc_8x8.repeat_repeat_linear_not_divisible,Fail dEQP-GLES3.functional.texture.wrap.astc_8x8_srgb.repeat_repeat_linear_divisible,Fail dEQP-GLES3.functional.texture.wrap.astc_8x8_srgb.repeat_repeat_linear_not_divisible,Fail -dEQP-GLES3.functional.vertex_arrays.single_attribute.normalize.int2_10_10_10.components4_quads1,Fail -dEQP-GLES3.functional.vertex_arrays.single_attribute.normalize.int2_10_10_10.components4_quads256,Fail dEQP-GLES31.functional.debug.error_filters.case_29,Fail dEQP-GLES31.functional.debug.negative_coverage.callbacks.buffer.read_pixels_fbo_format_mismatch,Fail dEQP-GLES31.functional.debug.negative_coverage.get_error.buffer.blit_framebuffer_multisample,Fail @@ -1116,9 +1114,6 @@ spec@arb_texture_rg@texwrap formats@GL_R8- NPOT,Fail spec@arb_texture_rg@texwrap formats@GL_RG16- NPOT,Fail spec@arb_texture_rg@texwrap formats@GL_RG8- NPOT,Fail -spec@arb_texture_view@rendering-formats,Fail -spec@arb_texture_view@rendering-formats@clear GL_RGBA8_SNORM as GL_R32F,Fail - spec@arb_transform_feedback2@change objects while paused,Crash spec@arb_transform_feedback3@arb_transform_feedback3-ext_interleaved_two_bufs_gs,Crash spec@arb_transform_feedback3@arb_transform_feedback3-ext_interleaved_two_bufs_gs_max,Crash diff --git a/src/util/format/u_format_pack.py b/src/util/format/u_format_pack.py index 83702a04a07..57434adcd8c 100644 --- a/src/util/format/u_format_pack.py +++ b/src/util/format/u_format_pack.py @@ -397,6 +397,10 @@ def conversion_expr(src_channel, # bigger than single precision mantissa, use double value = '(%s * (1.0/0x%x))' % (value, one) src_size = 64 + + if src_norm and src_type == SIGNED: + value = 'MAX2(-1.0f, %s)' % (value) + src_norm = False else: if src_size <= 23 or dst_channel.size <= 32: