https://bugs.freedesktop.org/show_bug.cgi?id=88079
Bug ID: 88079 Summary: dEQP-GLES3.functional.fbo.completeness.renderable.rend erbuffer.color0 tests fail due to enabling of GL_RGB and GL_RGBA Product: Mesa Version: git Hardware: All OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Mesa core Assignee: mesa-dev@lists.freedesktop.org Reporter: michael.w.ma...@intel.com Environment: Mesa: (master 934e41c0b31cffa4efc08f61cff2389e3149b3f3) Ubuntu 14.04 The following dEQP tests fail due to a recent commit that enables GL_RGB and GL_RGBA internal formats for render buffers: dEQP-GLES3.functional.fbo.completeness.renderable.renderbuffer.color0.rgb_unsigned_byte dEQP-GLES3.functional.fbo.completeness.renderable.renderbuffer.color0.rgb_unsigned_short_5_6_5 dEQP-GLES3.functional.fbo.completeness.renderable.renderbuffer.color0.rgb_unsigned_int_2_10_10_10_rev dEQP-GLES3.functional.fbo.completeness.renderable.renderbuffer.color0.rgb_unsigned_int_10f_11f_11f_rev dEQP-GLES3.functional.fbo.completeness.renderable.renderbuffer.color0.rgba_unsigned_byte dEQP-GLES3.functional.fbo.completeness.renderable.renderbuffer.color0.rgba_unsigned_short_4_4_4_4 dEQP-GLES3.functional.fbo.completeness.renderable.renderbuffer.color0.rgba_unsigned_short_5_5_5_1 dEQP-GLES3.functional.fbo.completeness.renderable.renderbuffer.color0.rgba_unsigned_int_2_10_10_10_rev Output: # ./deqp-gles3 --deqp-case=dEQP-GLES3.functional.fbo.completeness.renderable.renderbuffer.color0.rgb_unsigned_byte dEQP Core 2014.x (0xcafebabe) starting.. target implementation = 'X11 EGL' Test case 'dEQP-GLES3.functional.fbo.completeness.renderable.renderbuffer.color0.rgb_unsigned_byte'.. Fail (Framebuffer checked as complete, expected incomplete) Test case duration in microseconds = 2719 us DONE! Test run totals: Passed: 0/1 (0.0%) Failed: 1/1 (100.0%) Not supported: 0/1 (0.0%) Warnings: 0/1 (0.0%) All the above mentioned tests fail in the same way. Analysis: Bisect shows 78942787170615c9333810cf3a4819a13c9eb8e8 is the first bad commit commit 78942787170615c9333810cf3a4819a13c9eb8e8 Author: Eduardo Lima Mitev <el...@igalia.com> AuthorDate: Thu Nov 20 14:02:46 2014 +0100 Commit: Iago Toral Quiroga <ito...@igalia.com> CommitDate: Tue Dec 9 11:40:00 2014 +0100 mesa: Enables GL_RGB and GL_RGBA unsized internal formats for OpenGL ES 3.0 GL_RGB and GL_RGBA are valid internal formats on a GLES3 profile. See "Table 1. Unsized Internal Formats" at https://www.khronos.org/opengles/sdk/docs/man3/html/glTexImage2D.xhtml. Fixes 2 dEQP tests: - dEQP-GLES3.functional.state_query.internal_format.rgb_samples - dEQP-GLES3.functional.state_query.internal_format.rgba_samples Reviewed-by: Brian Paul <bri...@vmware.com> This commit fixes tests where glGetInternalformativ() is used to get the number of samples supported by a particular internal format for a render buffer. Pg 242 of the GLES 3.0.4 spec implies that GL_RGB and GL_RGBA are valid inputs to glGetInternalformativ(). However, these are unsized internal formats and are not supported for render buffers according to pg 204 of the spec, which states a renderbuffer's internal format "must be a sized internal format...". The commit updates _mesa_base_fbo_format() to allow GL_RGB and GL_RGBA as valid render buffer internal formats. It has the effect of enabling those formats for glGetInternalformativ() and glRenderBufferStorage()/glRenderBufferStorageMultisample(). It should have only enabled the formats for glGetInternalformativ(). Steps to reproduce: # ./deqp-gles3 --deqp-case=dEQP-GLES3.functional.fbo.completeness.renderable.renderbuffer.color0.rgb_unsigned_byte -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev