yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
f65d756bf
master
1// nvapi-include.h 2#pragma once 3 4// A helper that makes the NVAPI available across targets 5 6#ifdef GFX_NVAPI 7// On windows if we include NVAPI, we must include windows.h first 8 9#ifdef _WIN32 10#pragma push_macro("WIN32_LEAN_AND_MEAN") 11#pragma push_macro("NOMINMAX") 12#undef WIN32_LEAN_AND_MEAN 13#define WIN32_LEAN_AND_MEAN 14#undef NOMINMAX 15#define NOMINMAX 16#include <windows.h> 17#pragma pop_macro("NOMINMAX") 18#pragma pop_macro("WIN32_LEAN_AND_MEAN") 19#endif 20 21#include <nvShaderExtnEnums.h> 22#include <nvapi.h> 23 24#endif