libobs-d3d11: Add optional macro to log shader disassembly
This commit is contained in:
@@ -37,6 +37,8 @@
|
||||
#include <util/windows/ComPtr.hpp>
|
||||
#include <util/windows/HRError.hpp>
|
||||
|
||||
// #define DISASSEMBLE_SHADERS
|
||||
|
||||
struct shader_var;
|
||||
struct shader_sampler;
|
||||
struct gs_vertex_shader;
|
||||
@@ -801,6 +803,9 @@ struct gs_device {
|
||||
D3D11_PRIMITIVE_TOPOLOGY curToplogy;
|
||||
|
||||
pD3DCompile d3dCompile = nullptr;
|
||||
#ifdef DISASSEMBLE_SHADERS
|
||||
pD3DDisassemble d3dDisassemble = nullptr;
|
||||
#endif
|
||||
|
||||
gs_rect viewport;
|
||||
|
||||
|
Reference in New Issue
Block a user