Bug 103748

Summary: [softpipe] pigilt arb_internalformat_query2-image-texture regression
Product: Mesa Reporter: Vinson Lee <vlee>
Component: Drivers/Gallium/softpipeAssignee: mesa-dev
Status: RESOLVED MOVED QA Contact: mesa-dev
Severity: normal    
Priority: medium CC: eric, maraeo, nhaehnle
Version: gitKeywords: bisected
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2017-11-15 00:09:27 UTC
mesa: 5041ea96a0544283c3cf3885d6e2d2d0ba4857f5 (master 17.4.0-devel)

$  ./bin/arb_internalformat_query2-image-texture -auto
    32 bit failing case: pname = GL_IMAGE_TEXEL_SIZE, target = GL_TEXTURE_BUFFER, internalformat = GL_R11F_G11F_B10F, expected value = (32), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_TEXEL_SIZE, target = GL_TEXTURE_BUFFER, internalformat = GL_RGB10_A2UI, expected value = (32), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_TEXEL_SIZE, target = GL_TEXTURE_BUFFER, internalformat = GL_RGB10_A2, expected value = (32), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_TEXEL_SIZE, target = GL_TEXTURE_BUFFER, internalformat = GL_RGBA16_SNORM, expected value = (64), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_TEXEL_SIZE, target = GL_TEXTURE_BUFFER, internalformat = GL_RGBA8_SNORM, expected value = (32), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_TEXEL_SIZE, target = GL_TEXTURE_BUFFER, internalformat = GL_RG16_SNORM, expected value = (32), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_TEXEL_SIZE, target = GL_TEXTURE_BUFFER, internalformat = GL_RG8_SNORM, expected value = (16), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_TEXEL_SIZE, target = GL_TEXTURE_BUFFER, internalformat = GL_R16_SNORM, expected value = (16), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_TEXEL_SIZE, target = GL_TEXTURE_BUFFER, internalformat = GL_R8_SNORM, expected value = (8), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_TEXEL_SIZE, target = GL_TEXTURE_BUFFER, internalformat = GL_R11F_G11F_B10F, expected value = (32), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_TEXEL_SIZE, target = GL_TEXTURE_BUFFER, internalformat = GL_RGB10_A2UI, expected value = (32), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_TEXEL_SIZE, target = GL_TEXTURE_BUFFER, internalformat = GL_RGB10_A2, expected value = (32), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_TEXEL_SIZE, target = GL_TEXTURE_BUFFER, internalformat = GL_RGBA16_SNORM, expected value = (64), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_TEXEL_SIZE, target = GL_TEXTURE_BUFFER, internalformat = GL_RGBA8_SNORM, expected value = (32), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_TEXEL_SIZE, target = GL_TEXTURE_BUFFER, internalformat = GL_RG16_SNORM, expected value = (32), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_TEXEL_SIZE, target = GL_TEXTURE_BUFFER, internalformat = GL_RG8_SNORM, expected value = (16), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_TEXEL_SIZE, target = GL_TEXTURE_BUFFER, internalformat = GL_R16_SNORM, expected value = (16), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_TEXEL_SIZE, target = GL_TEXTURE_BUFFER, internalformat = GL_R8_SNORM, expected value = (8), params[0] = (0,GL_POINTS), supported=1
PIGLIT: {"subtest": {"GL_IMAGE_TEXEL_SIZE" : "fail"}}
    32 bit failing case: pname = GL_IMAGE_COMPATIBILITY_CLASS, target = GL_TEXTURE_BUFFER, internalformat = GL_R11F_G11F_B10F, expected value = (33474), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_COMPATIBILITY_CLASS, target = GL_TEXTURE_BUFFER, internalformat = GL_RGB10_A2UI, expected value = (33475), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_COMPATIBILITY_CLASS, target = GL_TEXTURE_BUFFER, internalformat = GL_RGB10_A2, expected value = (33475), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_COMPATIBILITY_CLASS, target = GL_TEXTURE_BUFFER, internalformat = GL_RGBA16_SNORM, expected value = (33468), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_COMPATIBILITY_CLASS, target = GL_TEXTURE_BUFFER, internalformat = GL_RGBA8_SNORM, expected value = (33471), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_COMPATIBILITY_CLASS, target = GL_TEXTURE_BUFFER, internalformat = GL_RG16_SNORM, expected value = (33469), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_COMPATIBILITY_CLASS, target = GL_TEXTURE_BUFFER, internalformat = GL_RG8_SNORM, expected value = (33472), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_COMPATIBILITY_CLASS, target = GL_TEXTURE_BUFFER, internalformat = GL_R16_SNORM, expected value = (33470), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_COMPATIBILITY_CLASS, target = GL_TEXTURE_BUFFER, internalformat = GL_R8_SNORM, expected value = (33473), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_COMPATIBILITY_CLASS, target = GL_TEXTURE_BUFFER, internalformat = GL_R11F_G11F_B10F, expected value = (33474), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_COMPATIBILITY_CLASS, target = GL_TEXTURE_BUFFER, internalformat = GL_RGB10_A2UI, expected value = (33475), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_COMPATIBILITY_CLASS, target = GL_TEXTURE_BUFFER, internalformat = GL_RGB10_A2, expected value = (33475), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_COMPATIBILITY_CLASS, target = GL_TEXTURE_BUFFER, internalformat = GL_RGBA16_SNORM, expected value = (33468), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_COMPATIBILITY_CLASS, target = GL_TEXTURE_BUFFER, internalformat = GL_RGBA8_SNORM, expected value = (33471), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_COMPATIBILITY_CLASS, target = GL_TEXTURE_BUFFER, internalformat = GL_RG16_SNORM, expected value = (33469), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_COMPATIBILITY_CLASS, target = GL_TEXTURE_BUFFER, internalformat = GL_RG8_SNORM, expected value = (33472), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_COMPATIBILITY_CLASS, target = GL_TEXTURE_BUFFER, internalformat = GL_R16_SNORM, expected value = (33470), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_COMPATIBILITY_CLASS, target = GL_TEXTURE_BUFFER, internalformat = GL_R8_SNORM, expected value = (33473), params[0] = (0,GL_POINTS), supported=1
PIGLIT: {"subtest": {"GL_IMAGE_COMPATIBILITY_CLASS" : "fail"}}
    32 bit failing case: pname = GL_IMAGE_PIXEL_FORMAT, target = GL_TEXTURE_BUFFER, internalformat = GL_R11F_G11F_B10F, expected value = (6407), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_PIXEL_FORMAT, target = GL_TEXTURE_BUFFER, internalformat = GL_RGB10_A2UI, expected value = (36249), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_PIXEL_FORMAT, target = GL_TEXTURE_BUFFER, internalformat = GL_RGB10_A2, expected value = (6408), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_PIXEL_FORMAT, target = GL_TEXTURE_BUFFER, internalformat = GL_RGBA16_SNORM, expected value = (6408), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_PIXEL_FORMAT, target = GL_TEXTURE_BUFFER, internalformat = GL_RGBA8_SNORM, expected value = (6408), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_PIXEL_FORMAT, target = GL_TEXTURE_BUFFER, internalformat = GL_RG16_SNORM, expected value = (33319), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_PIXEL_FORMAT, target = GL_TEXTURE_BUFFER, internalformat = GL_RG8_SNORM, expected value = (33319), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_PIXEL_FORMAT, target = GL_TEXTURE_BUFFER, internalformat = GL_R16_SNORM, expected value = (6403), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_PIXEL_FORMAT, target = GL_TEXTURE_BUFFER, internalformat = GL_R8_SNORM, expected value = (6403), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_PIXEL_FORMAT, target = GL_TEXTURE_BUFFER, internalformat = GL_R11F_G11F_B10F, expected value = (6407), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_PIXEL_FORMAT, target = GL_TEXTURE_BUFFER, internalformat = GL_RGB10_A2UI, expected value = (36249), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_PIXEL_FORMAT, target = GL_TEXTURE_BUFFER, internalformat = GL_RGB10_A2, expected value = (6408), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_PIXEL_FORMAT, target = GL_TEXTURE_BUFFER, internalformat = GL_RGBA16_SNORM, expected value = (6408), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_PIXEL_FORMAT, target = GL_TEXTURE_BUFFER, internalformat = GL_RGBA8_SNORM, expected value = (6408), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_PIXEL_FORMAT, target = GL_TEXTURE_BUFFER, internalformat = GL_RG16_SNORM, expected value = (33319), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_PIXEL_FORMAT, target = GL_TEXTURE_BUFFER, internalformat = GL_RG8_SNORM, expected value = (33319), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_PIXEL_FORMAT, target = GL_TEXTURE_BUFFER, internalformat = GL_R16_SNORM, expected value = (6403), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_PIXEL_FORMAT, target = GL_TEXTURE_BUFFER, internalformat = GL_R8_SNORM, expected value = (6403), params[0] = (0,GL_POINTS), supported=1
PIGLIT: {"subtest": {"GL_IMAGE_PIXEL_FORMAT" : "fail"}}
    32 bit failing case: pname = GL_IMAGE_PIXEL_TYPE, target = GL_TEXTURE_BUFFER, internalformat = GL_R11F_G11F_B10F, expected value = (35899), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_PIXEL_TYPE, target = GL_TEXTURE_BUFFER, internalformat = GL_RGB10_A2UI, expected value = (33640), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_PIXEL_TYPE, target = GL_TEXTURE_BUFFER, internalformat = GL_RGB10_A2, expected value = (33640), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_PIXEL_TYPE, target = GL_TEXTURE_BUFFER, internalformat = GL_RGBA16_SNORM, expected value = (5122), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_PIXEL_TYPE, target = GL_TEXTURE_BUFFER, internalformat = GL_RGBA8_SNORM, expected value = (5120), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_PIXEL_TYPE, target = GL_TEXTURE_BUFFER, internalformat = GL_RG16_SNORM, expected value = (5122), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_PIXEL_TYPE, target = GL_TEXTURE_BUFFER, internalformat = GL_RG8_SNORM, expected value = (5120), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_PIXEL_TYPE, target = GL_TEXTURE_BUFFER, internalformat = GL_R16_SNORM, expected value = (5122), params[0] = (0,GL_POINTS), supported=1
    32 bit failing case: pname = GL_IMAGE_PIXEL_TYPE, target = GL_TEXTURE_BUFFER, internalformat = GL_R8_SNORM, expected value = (5120), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_PIXEL_TYPE, target = GL_TEXTURE_BUFFER, internalformat = GL_R11F_G11F_B10F, expected value = (35899), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_PIXEL_TYPE, target = GL_TEXTURE_BUFFER, internalformat = GL_RGB10_A2UI, expected value = (33640), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_PIXEL_TYPE, target = GL_TEXTURE_BUFFER, internalformat = GL_RGB10_A2, expected value = (33640), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_PIXEL_TYPE, target = GL_TEXTURE_BUFFER, internalformat = GL_RGBA16_SNORM, expected value = (5122), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_PIXEL_TYPE, target = GL_TEXTURE_BUFFER, internalformat = GL_RGBA8_SNORM, expected value = (5120), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_PIXEL_TYPE, target = GL_TEXTURE_BUFFER, internalformat = GL_RG16_SNORM, expected value = (5122), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_PIXEL_TYPE, target = GL_TEXTURE_BUFFER, internalformat = GL_RG8_SNORM, expected value = (5120), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_PIXEL_TYPE, target = GL_TEXTURE_BUFFER, internalformat = GL_R16_SNORM, expected value = (5122), params[0] = (0,GL_POINTS), supported=1
    64 bit failing case: pname = GL_IMAGE_PIXEL_TYPE, target = GL_TEXTURE_BUFFER, internalformat = GL_R8_SNORM, expected value = (5120), params[0] = (0,GL_POINTS), supported=1
PIGLIT: {"subtest": {"GL_IMAGE_PIXEL_TYPE" : "fail"}}
PIGLIT: {"result": "fail" }


272fe9494232baab159d10901aecfe1786595b17 is the first bad commit
commit 272fe9494232baab159d10901aecfe1786595b17
Author: Marek Olšák <marek.olsak@amd.com>
Date:   Thu Oct 19 22:22:15 2017 +0200

    mesa: enable ARB_texture_buffer_* extensions in the Compatibility profile
    
    We already have piglit tests testing alpha, luminance, and intensity
    formats. They were skipped by piglit until now.
    
    Additionally, I'm enabling one ARB_texture_buffer_range piglit test to run
    with the compat profile.
    
    i965 behavior is unchanged except that it doesn't expose TBOs in the Compat
    profile. Not sure how that affects the GL version override.
    
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
    Reviewed-by: Eric Anholt <eric@anholt.net>

:040000 040000 9ff97a01beb251d630b4f700f9c474de0f692cf6 35e692b0c6307be2ce982767477ed6d789b7a5fd M	src
bisect run success
Comment 1 Marek Olšák 2017-11-15 02:17:39 UTC
Not a regression. The test uses GL 3.0 and TBOs are now enabled with 3.0, which means TBO subtests are enabled for the first time. The test also had some TBO bugs and might have more. This is untested territory.
Comment 2 GitLab Migration User 2019-09-18 18:28:02 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/219.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.