Bug 60082

Summary: [ FAILED ] DispatchSanity_test.GL31_CORE
Product: Mesa Reporter: Vinson Lee <vlee>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: e0425955
Version: gitKeywords: regression
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
i915 platform: i915 features:

Description Vinson Lee 2013-01-30 17:53:31 UTC
mesa: 4bdf5454a5b0846d56c610b4e7e595fbedcf4c22 (master)

$ make check
[----------] 4 tests from DispatchSanity_test
[ RUN      ] DispatchSanity_test.GL31_CORE
dispatch_sanity.cpp:170: Failure
Value of: table[i]
  Actual: 0x4ae202
Expected: (_glapi_proc) _mesa_generic_nop
Which is: 0x41025d
i = 822 (TexBufferRange)
[  FAILED  ] DispatchSanity_test.GL31_CORE (2 ms)
[ RUN      ] DispatchSanity_test.GLES11
[       OK ] DispatchSanity_test.GLES11 (0 ms)
[ RUN      ] DispatchSanity_test.GLES2
[       OK ] DispatchSanity_test.GLES2 (1 ms)
[ RUN      ] DispatchSanity_test.GLES3
[       OK ] DispatchSanity_test.GLES3 (0 ms)
[----------] 4 tests from DispatchSanity_test (3 ms total)

785a8c3bebac838b675ac891aaadff4efcb504d8 is the first bad commit
commit 785a8c3bebac838b675ac891aaadff4efcb504d8
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date:   Fri Jan 25 14:54:05 2013 +0100

    mesa: implement GL_ARB_texture_buffer_range
    v2: Record texObj.BufferSize as -1 in TexBuffer(non-Range) instead
    of the buffer's current size so we know we always have to use the
    full size of the buffer object (i.e. even if it changes without the
    user calling TexBuffer again) for the texture.
    Clarify invalid offset alignment error message.
    v3: Use extra GL_CORE-only section in get_hash_params.py for
    v4: Remove unnecessary check for profile in _mesa_TexBufferRange.
    Add check for extension enable in get_tex_level_parameter_buffer.
    v5: Fix position in gl_API.xml.
    Add comment about meaning of BufferSize == -1.
    v6: Add back checks for core profile and add a note about it.
    Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
    Reviewed-by: Eric Anholt <eric@anholt.net>

:040000 040000 f5a391a26fe6f24ea7f1a87b9983ec59c9e519e7 8478a472f4d03eb1b2ebc00b3c2ea80f49fa4d06 M	src
bisect run success
Comment 1 Kenneth Graunke 2013-01-30 18:49:11 UTC
Fixed by:

commit 7cccf46ec4ebcaee406d6ea38e0b232e1d64f7ae
Author: Kenneth Graunke <kenneth@whitecape.org>
Date:   Wed Jan 30 10:48:05 2013 -0800

    mesa: Add TexBufferRange to dispatch_sanity.
    Christoph implemented this, so we should expect it to be present now.
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=60082
Comment 2 anjelinawilliams0@gmail.com (Spammer; Account disabled) 2019-08-22 12:14:16 UTC Comment hidden (spam)

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.