<commit_before>//
// Copyright (c) <NAME>, MIT License.
//
#include "base.hpp"
#include "shader.hpp"
#include "vertex.hpp"
#include "model.hpp"
#include "geometry.hpp"
#include <GLFW/glfw3.h>
#define STB_IMAGE_IMPLEMENTTION
#include "stb_image.h"

#include <string>
#include <set>
#include <vector>
#include <assert.h>
#include <algorithm>
#include <iostream>
#include <array>
#include <chrono>

// For debugging. Set to 1 to start up validation layers.
// You can disable this value to prevent validation layers from
// setting up, which will remove error checking when rendering.
// Although this may sound atrocious, it is an added advantage,
// for which performance may increase as a result of no error checking. 
#define BASE_DEBUG 1
#define APPEND_AB(a, b) a##b

// If you prefer to render the sphere, set this to 1 
#define SPHERE 0

#if BASE_DEBUG
 #define BASE_ASSERT(expr) assert(expr)
#else
 #define BASE_ASSERT(expr)
#endif  

// Vulkan Validation Layer Callback.
static VKAPI_ATTR VkBool32 VKAPI_CALL DebugCallback(
  VkDebugReportFlagsEXT flags,
  VkDebugReportObjectTypeEXT objType,
  uint64_t obj,
  size_t location,
  int32_t code,<commit_msg>Program can build anywhere (3)<commit_after>//
// Copyright (c) <NAME>, MIT License.
//
#include "base.hpp"
#include "shader.hpp"
#include "vertex.hpp"
#include "model.hpp"
#include "geometry.hpp"
#include <GLFW/glfw3.h>
#define STB_IMAGE_IMPLEMENTTION
#include "stb_image.h"

#include <string>
#include <set>
#include <vector>
#include <assert.h>
#include <algorithm>
#include <iostream>
#include <array>
#include <chrono>

// For debugging. Set to 1 to start up validation layers.
// You can disable this value to prevent validation layers from
// setting up, which will remove error checking when rendering.
// Although this may sound atrocious, it is an added advantage,
// for which performance may increase as a result of no error checking.
#ifdef _WIN32
 #if _DEBUG 
 #define BASE_DEBUG 1
 #else
  #define BASE_DEBUG 0
 #endif
#else
 #define BASE_DEBUG 1
#endif
#define APPEND_AB(a, b) a##b

// If you prefer to render the sphere, set this to 1 
#define SPHERE 0

#if BASE_DEBUG
 #define BASE_ASSERT(expr) assert(expr)
#else
 #define BASE_ASSERT(expr)
#endif  

// Vulkan Validation Layer Callback.
static VKAPI_ATTR VkBool32 VKAPI_CALL DebugCallback(
  VkDebugReportFlagsEXT flags,
  VkDebugReportObjectTypeEXT objType,
  uint64_t obj,
  size_t location,
  int32_t code,
{'fraction_non_alphanumeric': 0.1008610086100861, 'fraction_numerical': 0.01107011070110701, 'mean_word_length': 4.674418604651163, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '5951852', 'n_tokens_mistral': 838, 'n_tokens_neox': 812, 'n_words': 293}