|
| 1 | +============================================================= |
| 2 | + SAGE MSAA CopyRects Benchmark v4 - Engine Path Simulation |
| 3 | +============================================================= |
| 4 | + |
| 5 | +4x MSAA support: YES (0x00000000) |
| 6 | + |
| 7 | +============================================================ |
| 8 | + PASS 1: Non-MSAA Device (baseline) |
| 9 | +============================================================ |
| 10 | + |
| 11 | +[W3DShaderManager::init] No MSAA |
| 12 | + [PASS] GetRenderTarget (hr=0x00000000) |
| 13 | + BackBuffer: 640x480 MultisampleType=0 |
| 14 | + [PASS] CreateTexture(RENDERTARGET, same format) (hr=0x00000000) |
| 15 | + [PASS] GetSurfaceLevel(0) (hr=0x00000000) |
| 16 | + [PASS] GetDepthStencilSurface (hr=0x00000000) |
| 17 | + DepthStencil MultisampleType=0 |
| 18 | + [PASS] SetRenderTarget(non-MSAA-texture, MSAA-depthbuffer) [expect FAIL on MSAA] (hr=0x00000000) |
| 19 | + |
| 20 | +[W3DSmudge::copyRect] No MSAA |
| 21 | + [PASS] GetRenderTarget (hr=0x00000000) |
| 22 | + Surface: 640x480 MultisampleType=0 |
| 23 | + [PASS] CreateImageSurface (8x8 dest, POOL_SYSTEMMEM) (hr=0x00000000) |
| 24 | + Path: No MSAA -> direct sub-rect copy (original code path) |
| 25 | + [PASS] CopyRects(non-MSAA->8x8, sub-rect) [should PASS] (hr=0x00000000) |
| 26 | + Illegal sub-rect path result for reference: |
| 27 | + [PASS] CopyRects(surface->8x8, sub-rect directly) [expect FAIL on MSAA] (hr=0x00000000) |
| 28 | + |
| 29 | +[W3DSmudge::testHardwareSupport (capture round-trip)] No MSAA |
| 30 | + DrawPrimitiveUP hr=0x00000000 |
| 31 | + Present hr=0x00000000 |
| 32 | + [PASS] CreateImageSurface for GetFrontBuffer (hr=0x00000000) |
| 33 | + [FAIL] GetFrontBuffer (post-Present, resolved) (hr=0x8876086C) |
| 34 | + RenderTarget: 640x480 MultisampleType=0 |
| 35 | + [PASS] CreateImageSurface (8x8 temp dest) (hr=0x00000000) |
| 36 | + [PASS] CopyRects(non-MSAA->8x8 sub-rect) (hr=0x00000000) |
| 37 | + CopyRects Pixel[0,0]: got=0x888888 |
| 38 | + |
| 39 | +[W3DSmudgeManager::ReAcquireResources] No MSAA |
| 40 | + [PASS] CreateTexture(640x480, RENDERTARGET, POOL_DEFAULT) [for m_backgroundTexture] (hr=0x00000000) |
| 41 | + |
| 42 | +============================================================ |
| 43 | + PASS 2: 4x MSAA Device |
| 44 | +============================================================ |
| 45 | + |
| 46 | +[W3DShaderManager::init] 4x MSAA |
| 47 | + [PASS] GetRenderTarget (hr=0x00000000) |
| 48 | + BackBuffer: 640x480 MultisampleType=4 |
| 49 | + [PASS] CreateTexture(RENDERTARGET, same format) (hr=0x00000000) |
| 50 | + [PASS] GetSurfaceLevel(0) (hr=0x00000000) |
| 51 | + [PASS] GetDepthStencilSurface (hr=0x00000000) |
| 52 | + DepthStencil MultisampleType=4 |
| 53 | + [PASS] SetRenderTarget(non-MSAA-texture, MSAA-depthbuffer) [expect FAIL on MSAA] (hr=0x8876086C) |
| 54 | + |
| 55 | +[W3DSmudge::copyRect] 4x MSAA |
| 56 | + [PASS] GetRenderTarget (hr=0x00000000) |
| 57 | + Surface: 640x480 MultisampleType=4 |
| 58 | + [PASS] CreateImageSurface (8x8 dest, POOL_SYSTEMMEM) (hr=0x00000000) |
| 59 | + Path: MSAA -> full resolve to intermediate, then sub-rect copy |
| 60 | + [PASS] CreateImageSurface (full intermediate, POOL_SYSTEMMEM) (hr=0x00000000) |
| 61 | + [PASS] CopyRects(MSAA->intermediate, NULL rects) [should PASS] (hr=0x00000000) |
| 62 | + [PASS] CopyRects(intermediate->8x8, sub-rect) [should PASS] (hr=0x00000000) |
| 63 | + Illegal sub-rect path result for reference: |
| 64 | + [FAIL] CopyRects(surface->8x8, sub-rect directly) [expect FAIL on MSAA] (hr=0x00000000) |
| 65 | + |
| 66 | +[W3DSmudge::testHardwareSupport (capture round-trip)] 4x MSAA |
| 67 | + DrawPrimitiveUP hr=0x00000000 |
| 68 | + Present hr=0x00000000 |
| 69 | + [PASS] CreateImageSurface for GetFrontBuffer (hr=0x00000000) |
| 70 | + [FAIL] GetFrontBuffer (post-Present, resolved) (hr=0x8876086C) |
| 71 | + RenderTarget: 640x480 MultisampleType=4 |
| 72 | + [PASS] CreateImageSurface (8x8 temp dest) (hr=0x00000000) |
| 73 | + [PASS] CopyRects(MSAA->intermediate) (hr=0x00000000) |
| 74 | + [PASS] CopyRects(intermediate->8x8 sub-rect) (hr=0x00000000) |
| 75 | + CopyRects Pixel[0,0]: got=0x888888 |
| 76 | + |
| 77 | +[W3DSmudgeManager::ReAcquireResources] 4x MSAA |
| 78 | + [PASS] CreateTexture(640x480, RENDERTARGET, POOL_DEFAULT) [for m_backgroundTexture] (hr=0x00000000) |
| 79 | + |
| 80 | +============================================================ |
| 81 | + Results: 28 PASSED, 3 FAILED |
| 82 | +============================================================ |
0 commit comments