[Bug 89636] New: dEQP-GLES3: Blit operation should perform sRGB encoding/decoding in OpenGL ES 3.0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 18 00:15:09 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89636

            Bug ID: 89636
           Summary: dEQP-GLES3: Blit operation should perform sRGB
                    encoding/decoding in OpenGL ES 3.0
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: idr at freedesktop.org
          Reporter: apuentes at igalia.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

Failed tests:
 [37 tests]
      * dEQP-GLES3.functional.fbo.blit.conversion.rgba8_to_srgb8_alpha8
      * dEQP-GLES3.functional.fbo.blit.conversion.srgb8_alpha8_to_rgba8
      * dEQP-GLES3.functional.fbo.blit.conversion.srgb8_alpha8_to_rgb10_a2
      * dEQP-GLES3.functional.fbo.blit.conversion.srgb8_alpha8_to_rgba4
      * dEQP-GLES3.functional.fbo.blit.conversion.srgb8_alpha8_to_rgb5_a1
      * dEQP-GLES3.functional.fbo.blit.conversion.srgb8_alpha8_to_rgb8
      * dEQP-GLES3.functional.fbo.blit.conversion.srgb8_alpha8_to_rgb565
      * dEQP-GLES3.functional.fbo.blit.conversion.srgb8_alpha8_to_rg8
      * dEQP-GLES3.functional.fbo.blit.conversion.srgb8_alpha8_to_r8
      * dEQP-GLES3.functional.fbo.blit.conversion.srgb8_alpha8_to_rgba32f
      * dEQP-GLES3.functional.fbo.blit.conversion.srgb8_alpha8_to_rgba16f
      *
dEQP-GLES3.functional.fbo.blit.conversion.srgb8_alpha8_to_r11f_g11f_b10f
      * dEQP-GLES3.functional.fbo.blit.conversion.srgb8_alpha8_to_rg32f
      * dEQP-GLES3.functional.fbo.blit.conversion.srgb8_alpha8_to_rg16f
      * dEQP-GLES3.functional.fbo.blit.conversion.srgb8_alpha8_to_r32f
      * dEQP-GLES3.functional.fbo.blit.conversion.srgb8_alpha8_to_r16f
      * dEQP-GLES3.functional.fbo.blit.conversion.rgb10_a2_to_srgb8_alpha8
      * dEQP-GLES3.functional.fbo.blit.conversion.rgba4_to_srgb8_alpha8
      * dEQP-GLES3.functional.fbo.blit.conversion.rgb5_a1_to_srgb8_alpha8
      * dEQP-GLES3.functional.fbo.blit.conversion.rgb8_to_srgb8_alpha8
      * dEQP-GLES3.functional.fbo.blit.conversion.rgb565_to_srgb8_alpha8
      * dEQP-GLES3.functional.fbo.blit.conversion.rg8_to_srgb8_alpha8
      * dEQP-GLES3.functional.fbo.blit.conversion.r8_to_srgb8_alpha8
      * dEQP-GLES3.functional.fbo.blit.conversion.rgba32f_to_srgb8_alpha8
      * dEQP-GLES3.functional.fbo.blit.conversion.rgba16f_to_srgb8_alpha8
      *
dEQP-GLES3.functional.fbo.blit.conversion.r11f_g11f_b10f_to_srgb8_alpha8
      * dEQP-GLES3.functional.fbo.blit.conversion.rg32f_to_srgb8_alpha8
      * dEQP-GLES3.functional.fbo.blit.conversion.rg16f_to_srgb8_alpha8
      * dEQP-GLES3.functional.fbo.blit.conversion.r32f_to_srgb8_alpha8
      * dEQP-GLES3.functional.fbo.blit.conversion.r16f_to_srgb8_alpha8
      * dEQP-GLES3.functional.fbo.blit.default_framebuffer.srgb8_alpha8
      *
dEQP-GLES3.functional.fbo.blit.default_framebuffer.srgb8_alpha8_nearest_scale_blit_from_default
      *
dEQP-GLES3.functional.fbo.blit.default_framebuffer.srgb8_alpha8_nearest_scale_blit_to_default
      *
dEQP-GLES3.functional.fbo.blit.default_framebuffer.srgb8_alpha8_linear_scale_blit_from_default
      *
dEQP-GLES3.functional.fbo.blit.default_framebuffer.srgb8_alpha8_linear_scale_blit_to_default
      *
dEQP-GLES3.functional.fbo.blit.default_framebuffer.srgb8_alpha8_linear_out_of_bounds_blit_from_default
      *
dEQP-GLES3.functional.fbo.blit.default_framebuffer.srgb8_alpha8_linear_out_of_bounds_blit_to_default

The tests fail because they expect sRGB enconding to be done during the blit
operation if the destination framebuffer is sRGB, and sRGB decoding when
reading if the read framebuffer is sRGB.

 - From section 4.3.3 ("Copying Pixels") of the OpenGL ES 3.0 specification
(page 198):

        "When values are taken from the read buffer, if the value of
        FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING for the framebuffer
        attachment corresponding to the read buffer is SRGB (see section
        6.1.13), the red, green, and blue components are converted from
        the non-linear sRGB color space according to equation 3.24.

        When values are written to the draw buffers, blit operations
        bypass the fragment pipeline. The only fragment operations which
        affect a blit are the pixel ownership test, the scissor test,
        and sRGB conversion (see section 4.1.8). Color, depth, and
        stencil masks (see section 4.2.2) are ignored."

However, Mesa does not do any sRGB encoding/decoding during the blit. For more
information see:
http://lists.freedesktop.org/archives/mesa-dev/2015-February/077681.html

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150318/12318fcd/attachment-0001.html>


More information about the intel-3d-bugs mailing list