Skip to content
  • Ian Romanick's avatar
    fbo: Ensure power-of-two window size in tests that make textures w/the window size · 858b4e67
    Ian Romanick authored
    Commit 0f163d1d
    
     removed the non-default window size from many tests.
    However, quite a few of these tests had power-of-two window sizes for
    drivers that do not support GL_ARB_texture_non_power_of_two.
    
    Fixes
    
        fbo-nodepth-test on NV20 and i865G
        fbo-nostencil-test on NV20 and i865G
        fbo-alphatest-formats on i865G
        fbo-blending-formats on NV20 and i865G
    
    Somehow fbo-alphatest-formats was previously passing on NV20.
    
    There are still a few failures in fbo-blending-formats on i865G, but the
    test mostly passes.  The remaining failures there are likely legitimate
    problems.
    
    None of the tests were fixed on R200, and both fbo-alphatest-formats and
    fbo-blending-formats go from FAIL to CRASH.  Both hit an assertion:
    
    main/format_utils.c:178: _mesa_compute_rgba2base2rgba_component_mapping: Assertion `!&"Unexpected base format"' failed.
    
    This should also fix these tests on NV10, NV30, and r100.  I suspect
    r100 will have the same troubles as r200.
    
    Signed-off-by: default avatarIan Romanick <ian.d.romanick@intel.com>
    Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
    Cc: Ilia Mirkin <imirkin@alum.mit.edu>
    858b4e67