# Every GPU state that could carry a post-process pass, over BOTH boot splashes. # Source: xenia_re_ui_draws_01.log, Canary with the augmented UI draw logger # (canary sylpheed-re d90d14e02). Capture recipe: # GRACE=1 NOTAP=1 ARM=early FRAMES=600 MAXDRAWS=400000 tools/re-capture/ui_draw_capture.sh # Frames 4..226 are the two splashes; frames >=234 are the attract movie and are # EXCLUDED here -- the movie's 640x360 chroma planes look like a half-res blur # chain if you census the whole log at once, and that is the trap this file avoids. draws in frames 4..226: 1048 ## 1. RENDER TARGETS -- one, throughout [('rt0=[tile=0 fmt=0 exp=0]', 1048)] ## 2. SURFACE -- one pitch, no MSAA, throughout [('pitch=1280 msaa=0', 1048)] ## 3. EDRAM MODE -- kColorDepth(4) draws and kCopy(6) resolves only [('4', 628), ('6', 420)] ## 4. RESOLVE DESTINATIONS -- two, alternating front buffers, every frame [('14570000', 210), ('14910000', 210)] ## 5. TEXTURES BOUND -- and whether any is a resolve destination 416 ('10000000', '1x1', '26') 208 ('11A50000', '1280x768', '6') any texture base == a resolve dest? False ## 6. PIXEL-SHADER FLOAT CONSTANTS -- the parameter-source question [('ps_c[n=0]:', 1048)] ## 7. SHADERS, and the blend each is submitted with 416 ps=0xE59B2B3DA4AA9008 blend=0x07010701 mode=6 210 ps=0x2E372EA28CC404B7 blend=0x00010001 mode=4 210 ps=0x5773DC18083C4C20 blend=0x07010701 mode=4 208 ps=0xE59B2B3DA4AA9008 blend=0x07010701 mode=4 4 ps=0x5773DC18083C4C20 blend=0x07010701 mode=6 # blend 0x07010701 = colour and alpha both src*ONE + dst*(1-SRC_ALPHA) # blend 0x00010001 = colour and alpha both src*ONE + dst*ZERO (a replace/clear) # BlendFactor: 0=ZERO 1=ONE 7=ONE_MINUS_SRC_ALPHA (xenos.h:751) # EdramMode: 4=kColorDepth 6=kCopy (xenos.h:929)