This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ((SK_GetCurrentRenderBackend ().api == SK_RenderAPI::D3D12) && type == sk_shader_class::Pixel && checksum == 0x9aefe985) | |
{ | |
extern std::string | |
__SK_MakeSteamPS ( bool hdr10, | |
bool scRGB, | |
float max_luma ); | |
extern | |
ID3D10Blob* | |
__SK_MakeSteamPS_Bytecode ( bool hdr10, | |
bool scRGB, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _CRT_SECURE_NO_WARNINGS | |
// add headers that you want to pre-compile here | |
#include <Windows.h> | |
BOOL | |
APIENTRY | |
DllMain ( HMODULE hModule, | |
DWORD ul_reason_for_call, | |
LPVOID lpReserved ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string> | |
const wchar_t* | |
SK_GetSteamDir (void) | |
{ | |
static | |
wchar_t wszSteamPath [MAX_PATH + 2] = { }; | |
DWORD len = MAX_PATH; | |
LSTATUS status = |