mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
Get D3D shaders to build (though not working correctly)
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "Common/Math/lin/matrix4x4.h"
|
||||
#include "Common/GPU/thin3d.h"
|
||||
#include "Common/GPU/D3D9/D3D9StateCache.h"
|
||||
#include "Common/StringUtils.h"
|
||||
|
||||
#include "Common/Log.h"
|
||||
|
||||
@@ -1062,6 +1063,10 @@ bool D3D9ShaderModule::Compile(LPDIRECT3DDEVICE9 device, const uint8_t *data, si
|
||||
// No D3D9-compatible shader compiler installed.
|
||||
error = "D3D9 shader compiler not installed";
|
||||
}
|
||||
|
||||
ERROR_LOG(G3D, "Compile error: %s", error);
|
||||
ERROR_LOG(G3D, "%s", LineNumberString(std::string((const char *)data)).c_str());
|
||||
|
||||
OutputDebugStringA(source);
|
||||
OutputDebugStringA(error);
|
||||
if (errorBuffer)
|
||||
|
||||
Reference in New Issue
Block a user