<commit_before>#pragma once

// Enables debug validation layers for dx12/vulkan
#define FAZE_GRAPHICS_VALIDATION_LAYER

//#define FAZE_GRAPHICS_EXTRA_INFO // makes everything more verbose

#define FAZE_NSIGHT_COMPATIBILITY // disables some colorspace configuration which seems to crash nsight.

// Enables GBV validation for DX12, super slow.
//#define FAZE_GRAPHICS_GPUBASED_VALIDATION

// Could probably convert above to be global booleans instead, so I could toggle them runtime.
// Though many of them require to create all resources from scratch.

namespace faze
{
  namespace globalconfig
  {
    namespace graphics
    {
      // barrier booleans, toggle to control. Nothing thread safe here.
      // cannot toggle per window... I guess.
      extern bool GraphicsEnableReadStateCombining;
      extern bool GraphicsEnableHandleCommonState;
      extern bool GraphicsEnableSplitBarriers;
      extern bool GraphicsSplitBarriersPlaceBeginsOnExistingPoints;
    }
  }
}

#ifdef FAZE_GRAPHICS_EXTRA_INFO
#define GFX_ILOG(msg, ...) F_ILOG("Graphics", msg, ##__VA_ARGS__)
#define GFX_LOG(msg, ...) F_SLOG("Graphics", msg, ##__VA_ARGS__)
#else
#define GFX_ILOG(msg, ...)
#define GFX_LOG(msg, ...)
#endif<commit_msg>Seems like nvidia has done their homework and my compatibility define lost its meaning.<commit_after>#pragma once

// Enables debug validation layers for dx12/vulkan
//#define FAZE_GRAPHICS_VALIDATION_LAYER

//#define FAZE_GRAPHICS_EXTRA_INFO // makes everything more verbose

//#define FAZE_NSIGHT_COMPATIBILITY // disables some colorspace configuration which seems to crash nsight.

// Enables GBV validation for DX12, super slow.
//#define FAZE_GRAPHICS_GPUBASED_VALIDATION

// Could probably convert above to be global booleans instead, so I could toggle them runtime.
// Though many of them require to create all resources from scratch.

namespace faze
{
  namespace globalconfig
  {
    namespace graphics
    {
      // barrier booleans, toggle to control. Nothing thread safe here.
      // cannot toggle per window... I guess.
      extern bool GraphicsEnableReadStateCombining;
      extern bool GraphicsEnableHandleCommonState;
      extern bool GraphicsEnableSplitBarriers;
      extern bool GraphicsSplitBarriersPlaceBeginsOnExistingPoints;
    }
  }
}

#ifdef FAZE_GRAPHICS_EXTRA_INFO
#define GFX_ILOG(msg, ...) F_ILOG("Graphics", msg, ##__VA_ARGS__)
#define GFX_LOG(msg, ...) F_SLOG("Graphics", msg, ##__VA_ARGS__)
#else
#define GFX_ILOG(msg, ...)
#define GFX_LOG(msg, ...)
#endif
{'fraction_non_alphanumeric': 0.08081210191082802, 'fraction_numerical': 0.0031847133757961785, 'mean_word_length': 4.160164271047228, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2953940', 'n_tokens_mistral': 773, 'n_tokens_neox': 736, 'n_words': 240}