VirtualBox

Ignore:
Timestamp:
Mar 15, 2015 6:22:17 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
98945
Message:

The D3DXDisassembleShader API required the DirectX SDK, which we don't have handy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp

    r54765 r54766  
    2121*******************************************************************************/
    2222/* Enable to disassemble defined shaders. (Windows host only) */
    23 #if defined(RT_OS_WINDOWS) && defined(DEBUG)
     23#if defined(RT_OS_WINDOWS) && defined(DEBUG) && 0 /* Disabled as we don't have the DirectX SDK avaible atm. */
    2424# define DUMP_SHADER_DISASSEMBLY
    2525#endif
     
    74687468#ifdef DUMP_SHADER_DISASSEMBLY
    74697469    LPD3DXBUFFER pDisassembly;
    7470 
    74717470    HRESULT hr = D3DXDisassembleShader((const DWORD *)pShaderData, FALSE, NULL, &pDisassembly);
    74727471    if (hr == D3D_OK)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette