RetroArch
Macros | Functions
spirv_cross.cpp File Reference
#include "spirv_cross.hpp"
#include "GLSL.std.450.h"
#include "spirv_cfg.hpp"
#include <algorithm>
#include <cstring>
#include <utility>
Include dependency graph for spirv_cross.cpp:

Macros

#define log(...)   fprintf(stderr, __VA_ARGS__)
 

Functions

static string ensure_valid_identifier (const string &name, bool member)
 
static bool storage_class_is_interface (spv::StorageClass storage)
 
static uint32_t swap_endian (uint32_t v)
 
static string extract_string (const vector< uint32_t > &spirv, uint32_t offset)
 
static bool is_valid_spirv_version (uint32_t version)
 
static bool exists_unaccessed_path_to_return (const CFG &cfg, uint32_t block, const unordered_set< uint32_t > &blocks)
 

Macro Definition Documentation

◆ log

#define log (   ...)    fprintf(stderr, __VA_ARGS__)

Function Documentation

◆ ensure_valid_identifier()

static string ensure_valid_identifier ( const string name,
bool  member 
)
static
Here is the caller graph for this function:

◆ exists_unaccessed_path_to_return()

static bool exists_unaccessed_path_to_return ( const CFG cfg,
uint32_t  block,
const unordered_set< uint32_t > &  blocks 
)
static
Here is the call graph for this function:

◆ extract_string()

static string extract_string ( const vector< uint32_t > &  spirv,
uint32_t  offset 
)
static
Here is the caller graph for this function:

◆ is_valid_spirv_version()

static bool is_valid_spirv_version ( uint32_t  version)
static
Here is the caller graph for this function:

◆ storage_class_is_interface()

static bool storage_class_is_interface ( spv::StorageClass  storage)
inlinestatic
Here is the caller graph for this function:

◆ swap_endian()

static uint32_t swap_endian ( uint32_t  v)
inlinestatic
Here is the caller graph for this function: