Advertisement
snake5

gccbug quick look

Apr 3rd, 2015
588
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. // C++ CODE:
  2. if( create_rtt( device, settings.width, settings.height, msamples, DXGI_FORMAT_D24_UNORM_S8_UINT, true, &depthBuffer, &dsView ) )
  3. return NULL;
  4.  
  5. // ASM:
  6.  
  7. mov eax, DWORD PTR [ebp+8] # tmp168, settings
  8. mov ecx, DWORD PTR [eax+8] # D.88784, settings_8(D)->height
  9. mov eax, DWORD PTR [ebp+8] # tmp169, settings
  10. mov edx, DWORD PTR [eax+4] # D.88784, settings_8(D)->width
  11. mov eax, DWORD PTR [ebp-76] # device.35, device
  12. lea ebx, [ebp-100] # tmp170,
  13. mov DWORD PTR [esp+28], ebx #, tmp170
  14. lea ebx, [ebp-92] # tmp171,
  15. mov DWORD PTR [esp+24], ebx #, tmp171
  16. mov DWORD PTR [esp+20], 1 #, -- bool true
  17. mov DWORD PTR [esp+16], 45 #, -- DXGI_FORMAT_D24_UNORM_S8_UINT
  18. mov ebx, DWORD PTR [ebp-28] # tmp172, msamples
  19. mov DWORD PTR [esp+12], ebx #, tmp172
  20. mov DWORD PTR [esp+8], ecx #, D.88784
  21. mov DWORD PTR [esp+4], edx #, D.88784
  22. mov DWORD PTR [esp], eax #, device.35
  23. mov DWORD PTR [ebp-216], 1 #, --------------- WTF IS THIS???????????
  24. call __ZL11create_rtt_P12ID3D11Deviceiii11DXGI_FORMATbPP15ID3D11Texture2DPPv #
  25. test eax, eax # D.88784
  26. setne al #, retval.34
  27. test al, al # retval.34
  28. je L167 #,
  29. mov eax, 0 # D.88783,
  30. jmp L169 #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement