• Zebediah Figura's avatar
    d3d11/tests: Read back directly from the mipmap texture in test_generate_mips(). · 01351149
    Zebediah Figura authored
    This is far simpler than drawing with it.
    
    The immediate motivation here is that the DXGI_FORMAT_R8G8B8A8_UINT test causes
    a validation error when drawing, since the shader declares its resource as a
    float4 texture, which does not match the UINT view format. This could be fixed
    by using a different shader, but it seems more prudent to just simplify the test
    to not draw at all.
    01351149
d3d11.c 1.54 MB