RetroArch
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
spirv_cross::CompilerMSL::Options Struct Reference

#include <spirv_msl.hpp>

Public Types

enum  Platform { iOS, macOS }
 

Public Member Functions

bool is_ios ()
 
bool is_macos ()
 
void set_msl_version (uint32_t major, uint32_t minor=0, uint32_t patch=0)
 
bool supports_msl_version (uint32_t major, uint32_t minor=0, uint32_t patch=0)
 

Static Public Member Functions

static uint32_t make_msl_version (uint32_t major, uint32_t minor=0, uint32_t patch=0)
 

Public Attributes

Platform platform = macOS
 
uint32_t msl_version = make_msl_version(1, 2)
 
uint32_t texel_buffer_texture_width = 4096
 
bool enable_point_size_builtin = true
 
bool resolve_specialized_array_lengths = true
 

Member Enumeration Documentation

◆ Platform

Enumerator
iOS 
macOS 

Member Function Documentation

◆ is_ios()

bool spirv_cross::CompilerMSL::Options::is_ios ( )
inline

◆ is_macos()

bool spirv_cross::CompilerMSL::Options::is_macos ( )
inline

◆ make_msl_version()

static uint32_t spirv_cross::CompilerMSL::Options::make_msl_version ( uint32_t  major,
uint32_t  minor = 0,
uint32_t  patch = 0 
)
inlinestatic
Here is the caller graph for this function:

◆ set_msl_version()

void spirv_cross::CompilerMSL::Options::set_msl_version ( uint32_t  major,
uint32_t  minor = 0,
uint32_t  patch = 0 
)
inline
Here is the call graph for this function:

◆ supports_msl_version()

bool spirv_cross::CompilerMSL::Options::supports_msl_version ( uint32_t  major,
uint32_t  minor = 0,
uint32_t  patch = 0 
)
inline
Here is the call graph for this function:

Member Data Documentation

◆ enable_point_size_builtin

bool spirv_cross::CompilerMSL::Options::enable_point_size_builtin = true

◆ msl_version

uint32_t spirv_cross::CompilerMSL::Options::msl_version = make_msl_version(1, 2)

◆ platform

Platform spirv_cross::CompilerMSL::Options::platform = macOS

◆ resolve_specialized_array_lengths

bool spirv_cross::CompilerMSL::Options::resolve_specialized_array_lengths = true

◆ texel_buffer_texture_width

uint32_t spirv_cross::CompilerMSL::Options::texel_buffer_texture_width = 4096

The documentation for this struct was generated from the following file: