mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 14:15:42 +00:00
Specialise std::hash for old gcc/clang
This commit is contained in:
@@ -40,6 +40,16 @@ RDOC_CONFIG(rdcstr, Vulkan_Debug_PSDebugDumpDirPath, "",
|
||||
RDOC_CONFIG(bool, Vulkan_Debug_ShaderDebugLogging, false,
|
||||
"Output verbose debug logging messages when debugging shaders.");
|
||||
|
||||
// needed for old linux compilers
|
||||
namespace std
|
||||
{
|
||||
template <>
|
||||
struct hash<ShaderBuiltin>
|
||||
{
|
||||
std::size_t operator()(const ShaderBuiltin &e) const { return size_t(e); }
|
||||
};
|
||||
}
|
||||
|
||||
// should match the descriptor set layout created in ShaderDebugData::Init()
|
||||
enum class ShaderDebugBind
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user